Rename skygw_debug.h to debug.h
Also remove unneded includes in debug.h
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user