From a0b56b947a5a8a58fe2accea7f6d9ee927d70ad4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 30 Jun 2011 12:44:48 -0400 Subject: add and consolidate nasty stdio_ext junk hopefully this resolves the rest of the issues with hideously nonportable hacks in programs that use gnulib. --- src/stdio/fpurge.c | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/stdio/fpurge.c (limited to 'src/stdio/fpurge.c') 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); -- cgit v1.2.1