diff options
author | Franklin Wei <git@fwei.tk> | 2017-12-24 17:43:30 -0500 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-12-24 17:43:30 -0500 |
commit | 8d3e3056f75fbcd8e7db6cc396981750fb65806b (patch) | |
tree | 51b5a3153859b9ff52e4172b9788b09346882aa0 /apps/plugins/lib/stdio_compat.c | |
parent | 2b49724c3a5c27407fc59972c97a90b2ba910eff (diff) | |
download | rockbox-8d3e3056f75fbcd8e7db6cc396981750fb65806b.tar.gz rockbox-8d3e3056f75fbcd8e7db6cc396981750fb65806b.zip |
fix red once more
Change-Id: I6290cc6cca468c197656236d3dd31c3f72c53842
Diffstat (limited to 'apps/plugins/lib/stdio_compat.c')
-rw-r--r-- | apps/plugins/lib/stdio_compat.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/plugins/lib/stdio_compat.c b/apps/plugins/lib/stdio_compat.c index c1d5a7bc77..2adc4236d2 100644 --- a/apps/plugins/lib/stdio_compat.c +++ b/apps/plugins/lib/stdio_compat.c | |||
@@ -120,16 +120,11 @@ size_t _fwrite_(const void *ptr, size_t size, size_t nmemb, _FILE_ *stream) | |||
120 | 120 | ||
121 | return ret / size; | 121 | return ret / size; |
122 | } | 122 | } |
123 | #if 0 | ||
124 | /* stderr, stdout (disabled) */ | 123 | /* stderr, stdout (disabled) */ |
125 | else | 124 | else |
126 | { | 125 | { |
127 | char buf[10]; | ||
128 | rb->snprintf(buf, 10, "%%%ds", (int)(size*nmemb)); | ||
129 | rb->splashf(HZ, buf, ptr); | ||
130 | return size * nmemb; | 126 | return size * nmemb; |
131 | } | 127 | } |
132 | #endif | ||
133 | } | 128 | } |
134 | 129 | ||
135 | int _fseek_(_FILE_ *stream, long offset, int whence) | 130 | int _fseek_(_FILE_ *stream, long offset, int whence) |