From 74d27884aff095466cae76d2dcf90cb993321c14 Mon Sep 17 00:00:00 2001 From: "jan.skoglund@webrtc.org" Date: Thu, 5 Feb 2015 19:17:44 +0000 Subject: [PATCH] Remove defined(__cplusplus) tests in C++ code. This header is a C++ header (it contains keywords such as 'class' and 'public'). It is not necessary to test defined(__cplusplus). That test is appropriate in a C header that may be included by C++ code. R=henrik.lundin@webrtc.org, jan.skoglund@webrtc.org, sprang@webrtc.org BUG=none Review URL: https://webrtc-codereview.appspot.com/38899004 Cr-Commit-Position: refs/heads/master@{#8256} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8256 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_coding/neteq/audio_classifier.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/webrtc/modules/audio_coding/neteq/audio_classifier.h b/webrtc/modules/audio_coding/neteq/audio_classifier.h index e7b7807dbe..7bf8513252 100644 --- a/webrtc/modules/audio_coding/neteq/audio_classifier.h +++ b/webrtc/modules/audio_coding/neteq/audio_classifier.h @@ -11,15 +11,11 @@ #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_AUDIO_CLASSIFIER_H_ #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_AUDIO_CLASSIFIER_H_ -#if defined(__cplusplus) extern "C" { -#endif #include "celt.h" #include "analysis.h" #include "opus_private.h" -#if defined(__cplusplus) } -#endif #include "webrtc/system_wrappers/interface/scoped_ptr.h" #include "webrtc/typedefs.h"