summaryrefslogtreecommitdiff
path: root/libio/getc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-26 20:49:55 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-26 20:49:55 +0000
commit209caedfd0ef7b7c535a26ffe84e0ea9683335da (patch)
tree5becb4f4d8f6fd4cf8f01607c94f1e284744117c /libio/getc.c
parent009479366d6105713c71b413e6f92d39c08e2ab3 (diff)
downloadglibc-209caedfd0ef7b7c535a26ffe84e0ea9683335da.tar.gz
Update.
* libio/Makefile (routines): Remove fgetc. * libio/fgetc.c: Removed. * libio/getc.c: Add fgetc alias. * libio/Versions [GLIBC_2.1]: Add fgetc_unlocked. * libio/getc_u.c: Rename functio to __getc_unlocked and make getc_unlocked and fgetc_unlocked weak aliases. * libio/stdio.h: Add prototype for fgetc_unlocked.
Diffstat (limited to 'libio/getc.c')
-rw-r--r--libio/getc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/getc.c b/libio/getc.c
index 81a4b52c83..6ccef9960d 100644
--- a/libio/getc.c
+++ b/libio/getc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
@@ -46,4 +46,5 @@ _IO_getc (fp)
#ifdef weak_alias
weak_alias (_IO_getc, getc)
+weak_alias (_IO_getc, fgetc)
#endif