summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/getc.c')
-rw-r--r--lib/libc/stdio/getc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/getc.c b/lib/libc/stdio/getc.c
index 6879cbb7913..53cd3d84797 100644
--- a/lib/libc/stdio/getc.c
+++ b/lib/libc/stdio/getc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getc.c,v 1.9 2009/11/09 00:18:27 kurt Exp $ */
+/* $OpenBSD: getc.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.
@@ -44,6 +44,7 @@ getc_unlocked(FILE *fp)
{
return (__sgetc(fp));
}
+DEF_WEAK(getc_unlocked);
/*
* A subroutine version of the macro getc.
@@ -60,3 +61,4 @@ getc(FILE *fp)
FUNLOCKFILE(fp);
return (c);
}
+DEF_STRONG(getc);