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@4486 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org
2013-08-05 16:22:53 +00:00
parent c3d93c6921
commit 12dc1a38ca
212 changed files with 396 additions and 334 deletions

View File

@ -10,8 +10,9 @@
#include "webrtc/modules/audio_coding/main/source/nack.h"
#include <assert.h> // For assert.
#include <algorithm> // For std::max.
#include <cassert> // For assert.
#include "webrtc/modules/interface/module_common_types.h"
#include "webrtc/system_wrappers/interface/logging.h"

View File

@ -10,11 +10,11 @@
#include "webrtc/modules/audio_coding/main/test/APITest.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cctype>
#include <iostream>
#include <ostream>
#include <string>

View File

@ -10,7 +10,7 @@
#include "PCMFile.h"
#include <cctype>
#include <ctype.h>
#include <stdio.h>
#include <string.h>

View File

@ -11,8 +11,9 @@
#ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_PCMFILE_H_
#define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_PCMFILE_H_
#include <cstdio>
#include <cstdlib>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "module_common_types.h"

View File

@ -10,7 +10,8 @@
#include "TestFEC.h"
#include <cassert>
#include <assert.h>
#include <iostream>
#include "audio_coding_module_typedefs.h"

View File

@ -10,7 +10,8 @@
#include "webrtc/modules/audio_coding/main/test/TestStereo.h"
#include <cassert>
#include <assert.h>
#include <string>
#include "gtest/gtest.h"

View File

@ -13,8 +13,8 @@
#include "typedefs.h"
#include <cstdio>
#include <cstdlib>
#include <stdio.h>
#include <stdlib.h>
class TimedTrace {
public:

View File

@ -10,7 +10,7 @@
#include "TwoWayCommunication.h"
#include <cctype>
#include <ctype.h>
#include <stdio.h>
#include <string.h>

View File

@ -10,9 +10,9 @@
#include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h"
#include <assert.h>
#include <math.h>
#include <cassert>
#include <iostream>
#include "gflags/gflags.h"

View File

@ -10,14 +10,14 @@
#include "webrtc/modules/audio_coding/main/test/iSACTest.h"
#include <cctype>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#if _WIN32
#include <windows.h>
#elif WEBRTC_LINUX
#include <ctime>
#include <time.h>
#else
#include <sys/time.h>
#include <time.h>

View File

@ -10,9 +10,9 @@
#include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h"
#include <assert.h>
#include <math.h>
#include <cassert>
#include <iostream>
#include "gtest/gtest.h"

View File

@ -10,7 +10,8 @@
#include "webrtc/modules/audio_coding/main/test/opus_test.h"
#include <cassert>
#include <assert.h>
#include <string>
#include "testing/gtest/include/gtest/gtest.h"