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

@ -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>

View File

@ -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

View File

@ -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

View File

@ -27,7 +27,7 @@
*/
#include <maxscale/cdefs.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
MXS_BEGIN_DECLS

View File

@ -29,7 +29,7 @@
#include <maxscale/cdefs.h>
#include <maxscale/spinlock.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
MXS_BEGIN_DECLS

View File

@ -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

View File

@ -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)

View File

@ -26,7 +26,7 @@
*/
#include <maxscale/cdefs.h>
#include <maxscale/skygw_debug.h>
#include <maxscale/debug.h>
MXS_BEGIN_DECLS