diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-16 22:35:30 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-16 22:35:30 +0000 |
commit | 73b427a7433aa7b6c69b21dde624e86b1107b549 (patch) | |
tree | 5090adadf8aa1fff3b459fa345dbebee14382672 | |
parent | 1e94b873c4fb24121b9479ba5a2a977e0a584236 (diff) | |
download | rockbox-73b427a7433aa7b6c69b21dde624e86b1107b549.tar.gz rockbox-73b427a7433aa7b6c69b21dde624e86b1107b549.zip |
kill warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3455 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/common/sprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/sprintf.c b/firmware/common/sprintf.c index a44ca29560..c700034f49 100644 --- a/firmware/common/sprintf.c +++ b/firmware/common/sprintf.c @@ -174,6 +174,8 @@ int vsnprintf(char *buf, int size, const char *fmt, va_list ap) return pr.bytes; } +#ifndef SIMULATOR + struct for_fprintf { int fd; /* where to store it */ int bytes; /* amount stored */ @@ -193,8 +195,6 @@ static int fprfunc(void *pr, unsigned char letter) } -#ifndef SIMULATOR - int fprintf(int fd, const char *fmt, ...) { bool ok; |