diff options
author | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-08-05 16:22:53 +0000 |
---|---|---|
committer | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-08-05 16:22:53 +0000 |
commit | 3f45c2e0ac4cb280f941efa3a3476895795e3dd6 (patch) | |
tree | b449e98158b17765606544974759a1f387b02eaf /modules/video_processing/main | |
parent | 043f6a808f9ef95d573a222dfe5eb7f94f00f268 (diff) | |
download | webrtc-3f45c2e0ac4cb280f941efa3a3476895795e3dd6.tar.gz |
Switch C++-style C headers with their C equivalents.
The C++ headers define the C functions within the std:: namespace, but
we mainly don't use the std:: namespace for C functions. Therefore we
should include the C headers.
BUG=1833
R=tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/1917004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4486 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'modules/video_processing/main')
8 files changed, 13 insertions, 12 deletions
diff --git a/modules/video_processing/main/source/brighten.cc b/modules/video_processing/main/source/brighten.cc index 12da5746..8fa23c27 100644 --- a/modules/video_processing/main/source/brighten.cc +++ b/modules/video_processing/main/source/brighten.cc @@ -10,7 +10,7 @@ #include "webrtc/modules/video_processing/main/source/brighten.h" -#include <cstdlib> +#include <stdlib.h> #include "webrtc/system_wrappers/interface/trace.h" diff --git a/modules/video_processing/main/source/color_enhancement.cc b/modules/video_processing/main/source/color_enhancement.cc index b5247676..87a594b6 100644 --- a/modules/video_processing/main/source/color_enhancement.cc +++ b/modules/video_processing/main/source/color_enhancement.cc @@ -8,7 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include <cstdlib> // NULL +#include <stdlib.h> // NULL + #include "webrtc/modules/video_processing/main/source/color_enhancement.h" #include "webrtc/modules/video_processing/main/source/color_enhancement_private.h" #include "webrtc/system_wrappers/interface/trace.h" diff --git a/modules/video_processing/main/source/deflickering.h b/modules/video_processing/main/source/deflickering.h index 94b08361..d3f8139b 100644 --- a/modules/video_processing/main/source/deflickering.h +++ b/modules/video_processing/main/source/deflickering.h @@ -15,11 +15,11 @@ #ifndef VPM_DEFLICKERING_H #define VPM_DEFLICKERING_H +#include <string.h> // NULL + #include "webrtc/modules/video_processing/main/interface/video_processing.h" #include "webrtc/typedefs.h" -#include <cstring> // NULL - namespace webrtc { class VPMDeflickering diff --git a/modules/video_processing/main/source/denoising.cc b/modules/video_processing/main/source/denoising.cc index 42ea2684..45326fa5 100644 --- a/modules/video_processing/main/source/denoising.cc +++ b/modules/video_processing/main/source/denoising.cc @@ -11,7 +11,7 @@ #include "webrtc/modules/video_processing/main/source/denoising.h" #include "webrtc/system_wrappers/interface/trace.h" -#include <cstring> +#include <string.h> namespace webrtc { diff --git a/modules/video_processing/main/source/video_processing_impl.cc b/modules/video_processing/main/source/video_processing_impl.cc index 4546f911..8152cd17 100644 --- a/modules/video_processing/main/source/video_processing_impl.cc +++ b/modules/video_processing/main/source/video_processing_impl.cc @@ -13,7 +13,7 @@ #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" #include "webrtc/system_wrappers/interface/trace.h" -#include <cassert> +#include <assert.h> namespace webrtc { diff --git a/modules/video_processing/main/test/unit_test/color_enhancement_test.cc b/modules/video_processing/main/test/unit_test/color_enhancement_test.cc index ea1ed41c..c048003f 100644 --- a/modules/video_processing/main/test/unit_test/color_enhancement_test.cc +++ b/modules/video_processing/main/test/unit_test/color_enhancement_test.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include <cstdio> -#include <cstdlib> +#include <stdio.h> +#include <stdlib.h> #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" #include "webrtc/modules/video_processing/main/interface/video_processing.h" diff --git a/modules/video_processing/main/test/unit_test/deflickering_test.cc b/modules/video_processing/main/test/unit_test/deflickering_test.cc index 48afcf56..85f4fd6e 100644 --- a/modules/video_processing/main/test/unit_test/deflickering_test.cc +++ b/modules/video_processing/main/test/unit_test/deflickering_test.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include <cstdio> -#include <cstdlib> +#include <stdio.h> +#include <stdlib.h> #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" #include "webrtc/modules/video_processing/main/interface/video_processing.h" diff --git a/modules/video_processing/main/test/unit_test/denoising_test.cc b/modules/video_processing/main/test/unit_test/denoising_test.cc index 8c479177..8a343931 100644 --- a/modules/video_processing/main/test/unit_test/denoising_test.cc +++ b/modules/video_processing/main/test/unit_test/denoising_test.cc @@ -8,8 +8,8 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include <cstdio> -#include <cstdlib> +#include <stdio.h> +#include <stdlib.h> #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" #include "webrtc/modules/video_processing/main/interface/video_processing.h" |