Replace basictypes.h with stddef.h for size_t.

Files only making use of size_t from basictypes.h are replaced with
stddef.h, except in cases where they already for instance use stdio.h or
stdlib.h that already provide size_t.

BUG=webrtc:6853
R=tommi@webrtc.org

Review-Url: https://codereview.webrtc.org/2605123002
Cr-Commit-Position: refs/heads/master@{#15865}
This commit is contained in:
pbos 2017-01-02 06:44:41 -08:00 committed by Commit bot
parent bad48f6d72
commit 9baddf25b9
8 changed files with 11 additions and 11 deletions

View File

@ -13,10 +13,11 @@
#ifndef WEBRTC_API_JSEP_H_
#define WEBRTC_API_JSEP_H_
#include <stddef.h>
#include <string>
#include <vector>
#include "webrtc/base/basictypes.h"
#include "webrtc/base/refcount.h"
namespace cricket {

View File

@ -17,10 +17,11 @@
#ifndef WEBRTC_API_MEDIASTREAMINTERFACE_H_
#define WEBRTC_API_MEDIASTREAMINTERFACE_H_
#include <stddef.h>
#include <string>
#include <vector>
#include "webrtc/base/basictypes.h"
#include "webrtc/base/refcount.h"
#include "webrtc/base/scoped_ref_ptr.h"
#include "webrtc/base/optional.h"

View File

@ -11,8 +11,7 @@
#ifndef WEBRTC_BASE_RATELIMITER_H_
#define WEBRTC_BASE_RATELIMITER_H_
#include <stdlib.h>
#include "webrtc/base/basictypes.h"
#include <stddef.h>
namespace rtc {

View File

@ -14,10 +14,11 @@
#ifndef WEBRTC_BASE_SCOPEDPTRCOLLECTION_H_
#define WEBRTC_BASE_SCOPEDPTRCOLLECTION_H_
#include <stddef.h>
#include <algorithm>
#include <vector>
#include "webrtc/base/basictypes.h"
#include "webrtc/base/constructormagic.h"
namespace rtc {

View File

@ -11,10 +11,10 @@
#ifndef WEBRTC_BASE_STREAM_H_
#define WEBRTC_BASE_STREAM_H_
#include <memory>
#include <stdio.h>
#include "webrtc/base/basictypes.h"
#include <memory>
#include "webrtc/base/buffer.h"
#include "webrtc/base/constructormagic.h"
#include "webrtc/base/criticalsection.h"

View File

@ -13,7 +13,6 @@
#include <stdio.h>
#include <stdlib.h>
#include "webrtc/base/basictypes.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/stringutils.h"

View File

@ -32,8 +32,6 @@
#include <string>
#include "webrtc/base/basictypes.h"
///////////////////////////////////////////////////////////////////////////////
// Generic string/memory utilities
///////////////////////////////////////////////////////////////////////////////

View File

@ -11,11 +11,12 @@
#ifndef WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_
#define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_
#include <stddef.h>
#include <list>
#include <map>
#include <vector>
#include "webrtc/base/basictypes.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/stringutils.h"
#include "webrtc/config.h"