MXS-2008 Move content of maxscale/platform.h to maxbase/cdefs.h

No good reason for keeping that platform adjustments anywhere
else but in cdefs.h.
This commit is contained in:
Johan Wikman
2018-08-17 13:37:51 +03:00
parent 90960ec07f
commit aaad63ee5e
17 changed files with 40 additions and 70 deletions

View File

@ -31,7 +31,6 @@
#include <maxscale/jansson.hh>
#include <maxscale/json_api.h>
#include <maxscale/paths.h>
#include <maxscale/platform.h>
#include <maxscale/router.h>
#include <maxscale/spinlock.hh>
#include <maxscale/users.h>

View File

@ -45,7 +45,6 @@
#include <maxscale/limits.h>
#include <maxscale/listener.h>
#include <maxscale/log.h>
#include <maxscale/platform.h>
#include <maxscale/poll.h>
#include <maxscale/router.h>
#include <maxscale/server.h>

View File

@ -36,7 +36,6 @@
#include <maxscale/listener.h>
#include <maxscale/paths.h>
#include <maxscale/ssl.h>
#include <maxscale/platform.h>
#include <maxscale/protocol.h>
#include <maxscale/log.h>
#include <maxscale/alloc.h>

View File

@ -18,7 +18,6 @@
#include <maxscale/alloc.h>
#include <maxscale/config.h>
#include <maxscale/pcre2.h>
#include <maxscale/platform.h>
#include <maxscale/spinlock.h>
#include "internal/filter.hh"

View File

@ -24,7 +24,6 @@
#include <maxscale/buffer.h>
#include <maxscale/buffer.hh>
#include <maxscale/modutil.h>
#include <maxscale/platform.h>
#include <maxscale/poll.h>
#include <maxscale/protocol/mysql.h>
#include <maxscale/utils.h>

View File

@ -32,7 +32,6 @@
#include <maxbase/atomic.h>
#include <maxscale/config.h>
#include <maxscale/clock.h>
#include <maxscale/platform.h>
#include <maxscale/server.h>
#include <maxscale/statistics.h>
#include "internal/poll.hh"

View File

@ -24,7 +24,6 @@
#include <maxscale/log.h>
#include <maxscale/modutil.hh>
#include <maxscale/pcre2.h>
#include <maxscale/platform.h>
#include <maxscale/utils.h>
#include "internal/config_runtime.h"

View File

@ -21,12 +21,12 @@
#include <vector>
#include <sstream>
#include <maxscale/alloc.h>
#include <maxbase/atomic.h>
#include <maxbase/semaphore.hh>
#include <maxscale/alloc.h>
#include <maxscale/config.h>
#include <maxscale/clock.h>
#include <maxscale/limits.h>
#include <maxscale/platform.h>
#include <maxscale/json_api.h>
#include <maxscale/utils.hh>

View File

@ -28,7 +28,6 @@
#include <maxscale/alloc.h>
#include <maxscale/config.h>
#include <maxscale/debug.h>
#include <maxscale/platform.h>
#include <maxscale/utils.h>
static int thread_count = 0;