diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-02-22 12:19:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-22 12:19:12 +0000 |
commit | 22b7701fe75cce9afdbc27046821dc089f9e7dac (patch) | |
tree | ca5b4f0428fad0fc9c775dfb0ac879ddee863846 /firmware/debug.c | |
parent | 376057d2b67bae0a7b24ae1715d3cbb0b540b7a9 (diff) |
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
Diffstat (limited to 'firmware/debug.c')
-rw-r--r-- | firmware/debug.c | 24 |
1 files changed, 0 insertions, 24 deletions
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 |