about summary refs log tree commit diff
path: root/stdio/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/getchar.c')
-rw-r--r--stdio/getchar.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdio/getchar.c b/stdio/getchar.c
index 2b1cb92bf2..cbcbffd023 100644
--- a/stdio/getchar.c
+++ b/stdio/getchar.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -27,3 +27,5 @@ getchar (void)
 {
   return __getc (stdin);
 }
+
+weak_alias (getchar, getchar_unlocked)