Rename skygw_debug.h to debug.h

Also remove unneded includes in debug.h
This commit is contained in:
Johan Wikman
2016-10-14 13:44:40 +03:00
parent c03b8079fd
commit 0800bf4a59
28 changed files with 33 additions and 36 deletions

View File

@ -42,7 +42,7 @@
#include <stdlib.h>
#include <maxscale/alloc.h>
#include <maxscale/atomic.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#include <maxscale/skygw_utils.h>
#include <maxscale/spinlock.h>
#include <maxscale/hint.h>

View File

@ -28,7 +28,7 @@
#include <maxscale/hashtable.h>
#include <maxscale/mlist.h>
#include <maxscale/spinlock.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#include <maxscale/skygw_types.h>
#include <maxscale/skygw_utils.h>
#include <maxscale/alloc.h>

View File

@ -20,7 +20,7 @@
#include <stdlib.h>
#include <maxscale/log_manager.h>
#include <string.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#include <maxscale/users.h>
#include <maxscale/dbusers.h>
#include <strings.h>

View File

@ -25,7 +25,7 @@
#include <stdbool.h>
#include <maxscale/alloc.h>
#include <maxscale/log_manager.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#include <maxscale/config.h>
/**

View File

@ -33,7 +33,7 @@
#include <maxscale/spinlock.h>
#include <maxscale/log_manager.h>
#include <maxscale/hk_heartbeat.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#if defined(SS_DEBUG)
int debug_check_fail = 0;

View File

@ -23,7 +23,7 @@
#include <time.h>
#include <stddef.h>
#include <regex.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#include <maxscale/skygw_types.h>
#include <sys/time.h>
#include <maxscale/skygw_utils.h>

View File

@ -26,7 +26,7 @@
#include <maxscale/spinlock.h>
#include <maxscale/atomic.h>
#include <time.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
/**
* Initialise a spinlock.

View File

@ -35,7 +35,7 @@
#include <maxscale/gwbitmask.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
/**
* test1 Create a bitmap and mess around with it

View File

@ -35,7 +35,7 @@
#include <string.h>
#include <maxscale/alloc.h>
#include <maxscale/pcre2.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#define test_assert(a, b) if(!(a)){fprintf(stderr, b);return 1;}

View File

@ -18,7 +18,7 @@
#include <stdint.h>
#include <maxscale/buffer.h>
#include <maxscale/protocol/mysql.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
MXS_BEGIN_DECLS

View File

@ -17,7 +17,7 @@
#if !defined(SS_DEBUG)
#define SS_DEBUG
#endif
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
struct test_case
{

View File

@ -38,7 +38,7 @@
#include <maxscale/skygw_types.h>
#include <maxscale/spinlock.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#include <maxscale/log_manager.h>
#include <string.h>
#include <maxscale/filter.h>

View File

@ -20,7 +20,7 @@
#include <maxscale/monitor.h>
#include <mysqld_error.h>
#include <maxscale/alloc.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
static char *version_str = (char*)"V1.0.0";

View File

@ -33,7 +33,7 @@
*/
#include "avrorouter.h"
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#include <glob.h>
void* safe_key_free(void *data);

View File

@ -28,7 +28,7 @@
#include <sys/stat.h>
#include <errno.h>
#include <maxscale/skygw_utils.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
#include <string.h>
#include <strings.h>
#include <maxscale/alloc.h>