summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-25 13:35:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-25 13:35:31 +0000
commit2723531ff3168f566b4e16f7d6f2981a63c9da6a (patch)
tree5d552e9f200d623f6d599d8c32c9bc7a306aacc7 /firmware
parent8fd782814846075b50928af1db66bf4ac0bcd018 (diff)
downloadrockbox-2723531ff3168f566b4e16f7d6f2981a63c9da6a.tar.gz
rockbox-2723531ff3168f566b4e16f7d6f2981a63c9da6a.zip
remove the ifdef for simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3616 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/common/sprintf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/common/sprintf.c b/firmware/common/sprintf.c
index e72648cfae..5dd86b77d6 100644
--- a/firmware/common/sprintf.c
+++ b/firmware/common/sprintf.c
@@ -175,8 +175,6 @@ int vsnprintf(char *buf, int size, const char *fmt, va_list ap)
175 return pr.bytes; 175 return pr.bytes;
176} 176}
177 177
178#ifndef SIMULATOR
179
180struct for_fprintf { 178struct for_fprintf {
181 int fd; /* where to store it */ 179 int fd; /* where to store it */
182 int bytes; /* amount stored */ 180 int bytes; /* amount stored */
@@ -211,4 +209,4 @@ int fprintf(int fd, const char *fmt, ...)
211 209
212 return fpr.bytes; /* return 0 on error */ 210 return fpr.bytes; /* return 0 on error */
213} 211}
214#endif 212