summaryrefslogtreecommitdiff
path: root/firmware/include/stdio.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-17 13:19:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-17 13:19:18 +0000
commitf7b10a3747438e373d9dd91fd39fe9b5cb0fc125 (patch)
treedc9fdb556edd4708c212d907721e00cfaadf7d0b /firmware/include/stdio.h
parentd2e021473878502b2dee6af75ef47253b06a75f2 (diff)
added protos and fixed to make them work as proper newlib replacement
headers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1034 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/stdio.h')
-rw-r--r--firmware/include/stdio.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/firmware/include/stdio.h b/firmware/include/stdio.h
index e8d35bc502..b98f01c729 100644
--- a/firmware/include/stdio.h
+++ b/firmware/include/stdio.h
@@ -1,6 +1,8 @@
#ifndef _STDIO_H_
#define _STDIO_H_
+#include <_ansi.h>
+
#define __need_size_t
#include <stddef.h>
@@ -31,11 +33,7 @@
#define __VALIST char*
#endif
-int _EXFUN(fprintf, (FILE *, const char *, ...));
-int _EXFUN(fscanf, (FILE *, const char *, ...));
-int _EXFUN(printf, (const char *, ...));
-int _EXFUN(vfprintf, (FILE *, const char *, __VALIST));
-int _EXFUN(vprintf, (const char *, __VALIST));
-int _EXFUN(vsprintf, (char *, const char *, __VALIST));
+int snprintf (char *buf, size_t size, const char *fmt, ...);
+int vsnprintf (char *buf, int size, const char *fmt, __VALIST ap);
#endif /* _STDIO_H_ */