diff options
-rw-r--r-- | firmware/common/sprintf.c | 4 |
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 | |||
180 | struct for_fprintf { | 178 | struct 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 | |