replace stddef.h with cstddef

The former is deprecated with C++14. The standard says both are the same:

The contents and meaning of the header<cstddef>are the same as the C
standard library header<stddef.h>,except that it does not declare the type
wchar_t, that it also declares the type byte and its associated
operations (21.2.5), and as noted in 21.2.3 and 21.2.4.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-03-12 16:46:28 -07:00
parent c846ee0d1b
commit 2db8bcc353
50 changed files with 60 additions and 70 deletions

View File

@@ -27,10 +27,9 @@
#include <boost/intrusive/link_mode.hpp>
#include <boost/intrusive/list_hook.hpp>
#include <queue>
#include <cstddef>
#include <list>
#include <stddef.h>
#include <queue>
class UniqueSocketDescriptor;
class HttpdOutput;

View File

@@ -22,9 +22,8 @@
#include "util/AllocatedArray.hxx"
#include <cstddef>
#include <memory>
#include <stddef.h>
#include <stdint.h>
/**