Remove std:: prefixes from C functions in talk/.
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/9559004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5657 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -25,9 +25,10 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
@@ -27,12 +27,14 @@
|
||||
|
||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#ifdef POSIX
|
||||
#include <signal.h>
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
#endif // POSIX
|
||||
#include <cassert>
|
||||
|
||||
#include "talk/base/logging.h"
|
||||
#include "talk/base/messagequeue.h"
|
||||
#include "talk/base/stringutils.h"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#ifndef TALK_EXAMPLES_CALL_CONSOLE_H_
|
||||
#define TALK_EXAMPLES_CALL_CONSOLE_H_
|
||||
|
||||
#include <cstdio>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "talk/base/thread.h"
|
||||
#include "talk/base/messagequeue.h"
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <cstdio>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "talk/base/thread.h"
|
||||
|
||||
Reference in New Issue
Block a user