From 209caedfd0ef7b7c535a26ffe84e0ea9683335da Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 26 Jan 1999 20:49:55 +0000 Subject: 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. --- libio/getc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libio/getc.c') 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 -- cgit 1.4.1