Rename skygw_debug.h to debug.h
Also remove unneded includes in debug.h
This commit is contained in:
parent
c03b8079fd
commit
0800bf4a59
@ -14,7 +14,7 @@
|
||||
#include "maxavro.h"
|
||||
#include <maxscale/skygw_utils.h>
|
||||
#include <string.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
#include <maxscale/log_manager.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "maxavro.h"
|
||||
#include <jansson.h>
|
||||
#include <string.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
#include <maxscale/log_manager.h>
|
||||
|
||||
static const MAXAVRO_SCHEMA_FIELD types[MAXAVRO_TYPE_MAX] =
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <getopt.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
|
||||
static int verbose = 0;
|
||||
static uint64_t seekto = 0;
|
||||
|
@ -46,7 +46,7 @@
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <string.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
#include <maxscale/hint.h>
|
||||
#include <maxscale/spinlock.h>
|
||||
#include <stdint.h>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#ifndef _MAXSCALE_SKYGW_DEBUG_H
|
||||
#define _MAXSCALE_SKYGW_DEBUG_H
|
||||
#ifndef _MAXSCALE_DEBUG_H
|
||||
#define _MAXSCALE_DEBUG_H
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -15,15 +15,12 @@
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
|
||||
#define __USE_UNIX98 1
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
#include <stdbool.h>
|
||||
#include <maxscale/log_manager.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
@ -572,4 +569,4 @@ static bool conn_open[10240];
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif /* SKYGW_DEBUG_H */
|
||||
#endif
|
@ -30,7 +30,7 @@
|
||||
* @endverbatim
|
||||
*/
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
#include <maxscale/spinlock.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/spinlock.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <maxscale/dcb.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/resultset.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
|
@ -34,7 +34,7 @@ MXS_BEGIN_DECLS
|
||||
#define FSYNCLIMIT 10
|
||||
|
||||
#include <maxscale/skygw_types.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
|
||||
#define DISKWRITE_LATENCY (5*MSEC_USEC)
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
||||
#include <item_func.h>
|
||||
|
||||
#include <maxscale/skygw_types.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
#include <maxscale/log_manager.h>
|
||||
#include <maxscale/query_classifier.h>
|
||||
#include <maxscale/protocol/mysql.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include "builtin_functions.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
|
||||
static struct
|
||||
{
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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;}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
2
server/modules/filter/cache/test/testrules.c
vendored
2
server/modules/filter/cache/test/testrules.c
vendored
@ -17,7 +17,7 @@
|
||||
#if !defined(SS_DEBUG)
|
||||
#define SS_DEBUG
|
||||
#endif
|
||||
#include <maxscale/skygw_debug.h>
|
||||
#include <maxscale/debug.h>
|
||||
|
||||
struct test_case
|
||||
{
|
||||
|
@ -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>
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user