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_u.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libio/getc_u.c') diff --git a/libio/getc_u.c b/libio/getc_u.c index f074427446..5572ef6b3e 100644 --- a/libio/getc_u.c +++ b/libio/getc_u.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1996, 1997, 1999 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -29,9 +29,12 @@ #undef getc_unlocked int -getc_unlocked (fp) +__getc_unlocked (fp) FILE *fp; { CHECK_FILE (fp, EOF); return _IO_getc_unlocked (fp); } + +weak_alias (__getc_unlocked, getc_unlocked) +weak_alias (__getc_unlocked, fgetc_unlocked) -- cgit v1.2.3