summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fpurge.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/fpurge.c')
-rw-r--r--lib/libc/stdio/fpurge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/fpurge.c b/lib/libc/stdio/fpurge.c
index 65bd74994f4..8dd8a916118 100644
--- a/lib/libc/stdio/fpurge.c
+++ b/lib/libc/stdio/fpurge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpurge.c,v 1.9 2009/11/09 00:18:27 kurt Exp $ */
+/* $OpenBSD: fpurge.c,v 1.10 2015/08/31 02:53:57 guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -59,3 +59,4 @@ fpurge(FILE *fp)
FUNLOCKFILE(fp);
return (0);
}
+DEF_WEAK(fpurge);