Removed unused fprintf for now since it was giving compiler warnings.
This commit is contained in:
@@ -41,10 +41,8 @@
|
|||||||
|
|
||||||
#if DEBUG_ENABLED
|
#if DEBUG_ENABLED
|
||||||
void debug_printf(const char * format, ...);
|
void debug_printf(const char * format, ...);
|
||||||
void debug_fprintf(FILE * stream, const char * format, ...);
|
|
||||||
#else
|
#else
|
||||||
static void debug_printf(const char * format, ...) {}
|
static void debug_printf(const char * format, ...) {}
|
||||||
static void debug_fprintf(FILE * stream, const char * format, ...) {}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -49,15 +49,3 @@ void debug_printf(const char * format, ...)
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void debug_fprintf(FILE * stream, const char * format, ...)
|
|
||||||
{
|
|
||||||
va_list ap;
|
|
||||||
|
|
||||||
va_start(ap, format);
|
|
||||||
vfprintf(stream, format, ap);
|
|
||||||
va_end(ap);
|
|
||||||
fflush(stream);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user