diff options
Diffstat (limited to 'libio')
-rw-r--r-- | libio/iofgets.c | 6 | ||||
-rw-r--r-- | libio/iofputs.c | 4 | ||||
-rw-r--r-- | libio/iofread.c | 6 | ||||
-rw-r--r-- | libio/iofwrite.c | 4 |
4 files changed, 18 insertions, 2 deletions
diff --git a/libio/iofgets.c b/libio/iofgets.c index 98e82782ce..63221dfbd7 100644 --- a/libio/iofgets.c +++ b/libio/iofgets.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 @@ -64,4 +64,8 @@ _IO_fgets (buf, n, fp) #ifdef weak_alias weak_alias (_IO_fgets, fgets) + +# ifndef _IO_MTSAFE_IO +weak_alias (_IO_fgets, fgets_unlocked) +# endif #endif diff --git a/libio/iofputs.c b/libio/iofputs.c index ed41d5a49c..32acf987a5 100644 --- a/libio/iofputs.c +++ b/libio/iofputs.c @@ -46,4 +46,8 @@ _IO_fputs (str, fp) #ifdef weak_alias weak_alias (_IO_fputs, fputs) + +# ifndef _IO_MTSAFE_IO +weak_alias (_IO_fputs, fputs_unlocked) +# endif #endif diff --git a/libio/iofread.c b/libio/iofread.c index c2d12d8693..a6bda98162 100644 --- a/libio/iofread.c +++ b/libio/iofread.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1997, 1998, 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 @@ -47,4 +47,8 @@ _IO_fread (buf, size, count, fp) #ifdef weak_alias weak_alias (_IO_fread, fread) + +# ifndef _IO_MTSAFE_IO +weak_alias (_IO_fread, fread_unlocked) +# endif #endif diff --git a/libio/iofwrite.c b/libio/iofwrite.c index 886de7ae35..9be18bd8e0 100644 --- a/libio/iofwrite.c +++ b/libio/iofwrite.c @@ -53,4 +53,8 @@ _IO_fwrite (buf, size, count, fp) #ifdef weak_alias weak_alias (_IO_fwrite, fwrite) + +# ifndef _IO_MTSAFE_IO +weak_alias (_IO_fwrite, fwrite_unlocked) +# endif #endif |