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) | |||
174 | return pr.bytes; | 174 | return pr.bytes; |
175 | } | 175 | } |
176 | 176 | ||
177 | #ifndef SIMULATOR | ||
178 | |||
177 | struct for_fprintf { | 179 | struct for_fprintf { |
178 | int fd; /* where to store it */ | 180 | int fd; /* where to store it */ |
179 | int bytes; /* amount stored */ | 181 | int bytes; /* amount stored */ |
@@ -193,8 +195,6 @@ static int fprfunc(void *pr, unsigned char letter) | |||
193 | } | 195 | } |
194 | 196 | ||
195 | 197 | ||
196 | #ifndef SIMULATOR | ||
197 | |||
198 | int fprintf(int fd, const char *fmt, ...) | 198 | int fprintf(int fd, const char *fmt, ...) |
199 | { | 199 | { |
200 | bool ok; | 200 | bool ok; |