From 73b427a7433aa7b6c69b21dde624e86b1107b549 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 16 Mar 2003 22:35:30 +0000 Subject: kill warning git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3455 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/sprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/common/sprintf.c') 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; -- cgit v1.2.3