summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/funopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/funopen.c')
-rw-r--r--lib/libc/stdio/funopen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/funopen.c b/lib/libc/stdio/funopen.c
index b85ee96a1f7..b6fc464b4aa 100644
--- a/lib/libc/stdio/funopen.c
+++ b/lib/libc/stdio/funopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: funopen.c,v 1.8 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: funopen.c,v 1.9 2015/08/31 02:53:57 guenther Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -66,3 +66,4 @@ funopen(const void *cookie, int (*readfn)(void *, char *, int),
fp->_close = closefn;
return (fp);
}
+DEF_WEAK(funopen);