Remove skygw_types.h
Some stuff moved to maxscale/utils.h. Further cleanup still needed.
This commit is contained in:
@ -15,6 +15,8 @@
|
||||
#define PCRE2_CODE_UNIT_WIDTH 8
|
||||
#endif
|
||||
|
||||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <pthread.h>
|
||||
@ -24,13 +26,22 @@
|
||||
#include <stddef.h>
|
||||
#include <regex.h>
|
||||
#include <maxscale/debug.h>
|
||||
#include <maxscale/skygw_types.h>
|
||||
#include <sys/time.h>
|
||||
#include <maxscale/skygw_utils.h>
|
||||
#include <maxscale/atomic.h>
|
||||
#include <maxscale/random_jkiss.h>
|
||||
#include <pcre2.h>
|
||||
|
||||
#if !defined(PATH_MAX)
|
||||
# if defined(__USE_POSIX)
|
||||
# define PATH_MAX _POSIX_PATH_MAX
|
||||
# else
|
||||
# define PATH_MAX 256
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define MAX_ERROR_MSG PATH_MAX
|
||||
|
||||
static void simple_mutex_free_memory(simple_mutex_t* sm);
|
||||
static void thread_free_memory(skygw_thread_t* th, char* name);
|
||||
/** End of static function declarations */
|
||||
|
Reference in New Issue
Block a user