commit | 3ecc162d010d9943925be27773f73b901904bff1 | [log] [tgz] |
---|---|---|
author | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Mar 07 15:23:34 2014 +0000 |
committer | pbos@webrtc.org <pbos@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Fri Mar 07 15:23:34 2014 +0000 |
tree | 113d88e8ac4a8a88088a77e7c220ce139aad86dd | |
parent | 371243dfa3467c7be7217da4b537cc33d2bd45a6 [diff] |
Remove std:: prefixes from C functions in webrtc/. std::memcpy -> memcpy for instance. This change was motivated by a compile report complaining that std::rand() was used instead of rand(), probably with a stdlib.h include instead of cstdlib. Use of C functions without the std:: prefix is a lot more common, so removing std:: to address this. BUG= R=tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9549004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5658 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/main/acm2/call_statistics.cc b/webrtc/modules/audio_coding/main/acm2/call_statistics.cc index 9153325..4c3e9fc 100644 --- a/webrtc/modules/audio_coding/main/acm2/call_statistics.cc +++ b/webrtc/modules/audio_coding/main/acm2/call_statistics.cc
@@ -10,7 +10,7 @@ #include "webrtc/modules/audio_coding/main/acm2/call_statistics.h" -#include <cassert> +#include <assert.h> namespace webrtc {
diff --git a/webrtc/modules/audio_coding/main/acm2/initial_delay_manager_unittest.cc b/webrtc/modules/audio_coding/main/acm2/initial_delay_manager_unittest.cc index 1e129f3..15e88a5 100644 --- a/webrtc/modules/audio_coding/main/acm2/initial_delay_manager_unittest.cc +++ b/webrtc/modules/audio_coding/main/acm2/initial_delay_manager_unittest.cc
@@ -8,7 +8,7 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include <cstring> +#include <string.h> #include "gtest/gtest.h" #include "webrtc/modules/audio_coding/main/acm2/initial_delay_manager.h"
diff --git a/webrtc/modules/audio_coding/neteq4/neteq_unittest.cc b/webrtc/modules/audio_coding/neteq4/neteq_unittest.cc index b337276..32f5bf4 100644 --- a/webrtc/modules/audio_coding/neteq4/neteq_unittest.cc +++ b/webrtc/modules/audio_coding/neteq4/neteq_unittest.cc
@@ -14,10 +14,10 @@ #include "webrtc/modules/audio_coding/neteq4/interface/neteq.h" +#include <math.h> #include <stdlib.h> #include <string.h> // memset -#include <cmath> #include <set> #include <string> #include <vector>