summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fileno.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/fileno.c')
-rw-r--r--lib/libc/stdio/fileno.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/fileno.c b/lib/libc/stdio/fileno.c
index 58628da3c10..f7baee597a6 100644
--- a/lib/libc/stdio/fileno.c
+++ b/lib/libc/stdio/fileno.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fileno.c,v 1.8 2009/11/09 00:18:27 kurt Exp $ */
+/* $OpenBSD: fileno.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.
@@ -49,3 +49,4 @@ fileno(FILE *fp)
FUNLOCKFILE(fp);
return (ret);
}
+DEF_WEAK(fileno);