From 22b7701fe75cce9afdbc27046821dc089f9e7dac Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 22 Feb 2005 12:19:12 +0000 Subject: Build cleanup and general fixes. fprintf() is now fdprintf(), the separation between uisimulator files and firmware/apps files are better done. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657 --- firmware/debug.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'firmware/debug.c') diff --git a/firmware/debug.c b/firmware/debug.c index 0989e80b17..e3be2de168 100644 --- a/firmware/debug.c +++ b/firmware/debug.c @@ -216,28 +216,4 @@ void debugf(const char *fmt, ...) #endif } - -#else /* SIMULATOR code coming up */ - -void debug_init(void) -{ -} -extern void *stderr; - -void debugf(const char *fmt, ...) -{ - va_list ap; - va_start( ap, fmt ); - vfprintf( stderr, fmt, ap ); - va_end( ap ); -} - -void ldebugf(const char* file, int line, const char *fmt, ...) -{ - va_list ap; - va_start( ap, fmt ); - fprintf( stderr, "%s:%d ", file, line ); - vfprintf( stderr, fmt, ap ); - va_end( ap ); -} #endif -- cgit v1.2.3