forked from old/legacy-imlib2
debug.c/h: Move __EXPORT__ to .c file
This commit is contained in:
parent
8fd9c4ea89
commit
2ec3e5062f
|
@ -5,7 +5,7 @@
|
|||
|
||||
#if IMLIB2_DEBUG
|
||||
|
||||
unsigned int __imlib_debug = 0;
|
||||
__EXPORT__ unsigned int __imlib_debug = 0;
|
||||
|
||||
static FILE *opt_fout = NULL;
|
||||
|
||||
|
@ -52,7 +52,7 @@ __imlib_time_us(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
__EXPORT__ void
|
||||
__imlib_printf(const char *pfx, const char *fmt, ...)
|
||||
{
|
||||
char fmtx[1024];
|
||||
|
|
|
@ -17,10 +17,9 @@
|
|||
#define DL(fmt...) DC(DBG_LDR2, fmt)
|
||||
#endif
|
||||
|
||||
__EXPORT__ extern unsigned int __imlib_debug;
|
||||
extern unsigned int __imlib_debug;
|
||||
|
||||
__EXPORT__ __PRINTF_2__ void __imlib_printf(const char *pfx,
|
||||
const char *fmt, ...);
|
||||
__PRINTF_2__ void __imlib_printf(const char *pfx, const char *fmt, ...);
|
||||
|
||||
unsigned int __imlib_time_us(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue