|
|
|
@ -6,7 +6,6 @@ |
|
|
|
#ifndef __cplusplus |
|
|
|
#ifndef __cplusplus |
|
|
|
#define inline __inline |
|
|
|
#define inline __inline |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#define strdup _strdup |
|
|
|
|
|
|
|
#define strcasecmp _stricmp |
|
|
|
#define strcasecmp _stricmp |
|
|
|
#define snprintf _snprintf |
|
|
|
#define snprintf _snprintf |
|
|
|
#define kbhit _kbhit |
|
|
|
#define kbhit _kbhit |
|
|
|
@ -77,6 +76,8 @@ int report(const char *, ...); |
|
|
|
|
|
|
|
|
|
|
|
void delay_ms(int msec); |
|
|
|
void delay_ms(int msec); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
char *xmp_strdup(const char *); |
|
|
|
|
|
|
|
|
|
|
|
/* option */ |
|
|
|
/* option */ |
|
|
|
void get_options(int, char **, struct options *); |
|
|
|
void get_options(int, char **, struct options *); |
|
|
|
int read_config(struct options *); |
|
|
|
int read_config(struct options *); |
|
|
|
|