diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-06-30 12:44:48 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-06-30 12:44:48 -0400 |
commit | a0b56b947a5a8a58fe2accea7f6d9ee927d70ad4 (patch) | |
tree | 8080301f6ee6645bd39d390422956452bc98b5df /src/stdio/fpurge.c | |
parent | 7640497f5f28ddb4aa13528676a99b603320f47e (diff) | |
download | musl-a0b56b947a5a8a58fe2accea7f6d9ee927d70ad4.tar.gz musl-a0b56b947a5a8a58fe2accea7f6d9ee927d70ad4.tar.bz2 musl-a0b56b947a5a8a58fe2accea7f6d9ee927d70ad4.tar.xz musl-a0b56b947a5a8a58fe2accea7f6d9ee927d70ad4.zip |
add and consolidate nasty stdio_ext junk
hopefully this resolves the rest of the issues with hideously
nonportable hacks in programs that use gnulib.
Diffstat (limited to 'src/stdio/fpurge.c')
-rw-r--r-- | src/stdio/fpurge.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/stdio/fpurge.c b/src/stdio/fpurge.c deleted file mode 100644 index a9e98e7b..00000000 --- a/src/stdio/fpurge.c +++ /dev/null @@ -1,11 +0,0 @@ -#define _GNU_SOURCE -#include "stdio_impl.h" - -int __fpurge(FILE *f) -{ - f->wpos = f->wbase = f->wend = 0; - f->rpos = f->rend = 0; - return 0; -} - -weak_alias(__fpurge, fpurge); |