debug.c/h: Move __EXPORT__ to .c file

This commit is contained in:
Kim Woelders 2022-03-04 17:22:36 +01:00
parent 8fd9c4ea89
commit 2ec3e5062f
2 changed files with 4 additions and 5 deletions

View File

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

View File

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