MXS-2197 Remove most includes of maxscale/log.hh
All cc-files should include maxscale/ccdefs.hh, which includes maxscale/log.hh. Consequently it need not be included again.
This commit is contained in:
@ -44,7 +44,6 @@
|
||||
#include <maxscale/clock.h>
|
||||
#include <maxscale/limits.h>
|
||||
#include <maxscale/listener.hh>
|
||||
#include <maxscale/log.hh>
|
||||
#include <maxscale/poll.hh>
|
||||
#include <maxscale/router.hh>
|
||||
#include <maxscale/server.hh>
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
#include <maxbase/assert.h>
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/log.hh>
|
||||
#include <maxscale/pcre2.h>
|
||||
|
||||
/**
|
||||
|
@ -13,23 +13,13 @@
|
||||
|
||||
/**
|
||||
* @file maxkeys.c - Create the random encryption keys for maxscale
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 24/07/13 Mark Riddoch Initial implementation
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
#include "internal/secrets.h"
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <getopt.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <maxscale/log.hh>
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/random.h>
|
||||
#include "internal/secrets.h"
|
||||
|
||||
#ifdef HAVE_GLIBC
|
||||
struct option options[] =
|
||||
|
@ -13,14 +13,6 @@
|
||||
|
||||
/**
|
||||
* @file maxpasswd.c - Implementation of pasword encoding
|
||||
*
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 24/07/13 Mark Riddoch Initial implementation
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
@ -31,7 +23,6 @@
|
||||
#include <getopt.h>
|
||||
|
||||
#include <maxscale/paths.h>
|
||||
#include <maxscale/log.hh>
|
||||
#include <maxscale/random.h>
|
||||
#include <maxscale/alloc.h>
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
#endif
|
||||
|
||||
#include <iostream>
|
||||
#include <maxscale/log.hh>
|
||||
#include "../config.cc"
|
||||
|
||||
using namespace std;
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <maxbase/assert.h>
|
||||
#include <maxscale/log.hh>
|
||||
|
||||
using namespace maxscale;
|
||||
using namespace std;
|
||||
|
@ -11,6 +11,7 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#include <maxscale/log.hh>
|
||||
#include <unistd.h>
|
||||
#include <cstdio>
|
||||
#include <stdint.h>
|
||||
@ -20,7 +21,6 @@
|
||||
#include <pthread.h>
|
||||
#include <sched.h>
|
||||
#include <semaphore.h>
|
||||
#include <maxscale/log.hh>
|
||||
#include <maxscale/random.h>
|
||||
|
||||
using std::cerr;
|
||||
|
Reference in New Issue
Block a user