diff options
Diffstat (limited to 'libio')
-rw-r--r-- | libio/iofclose.c | 4 | ||||
-rw-r--r-- | libio/iofdopen.c | 4 | ||||
-rw-r--r-- | libio/iofopen.c | 4 | ||||
-rw-r--r-- | libio/oldfileops.c | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/libio/iofclose.c b/libio/iofclose.c index 35a23fa..7100425 100644 --- a/libio/iofclose.c +++ b/libio/iofclose.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -53,7 +53,7 @@ _IO_new_fclose (fp) return status; } -#ifdef DO_VERSIONING +#if defined PIC && DO_VERSIONING strong_alias (_IO_new_fclose, __new_fclose) default_symbol_version (_IO_new_fclose, _IO_fclose, GLIBC_2.1); default_symbol_version (__new_fclose, fclose, GLIBC_2.1); diff --git a/libio/iofdopen.c b/libio/iofdopen.c index 2ecbce3..a51bc3c 100644 --- a/libio/iofdopen.c +++ b/libio/iofdopen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1994, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1994, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -129,7 +129,7 @@ _IO_new_fdopen (fd, mode) return (_IO_FILE *) &new_f->fp; } -#ifdef DO_VERSIONING +#if defined PIC && DO_VERSIONING strong_alias (_IO_new_fdopen, __new_fdopen) default_symbol_version (_IO_new_fdopen, _IO_fdopen, GLIBC_2.1); default_symbol_version (__new_fdopen, fdopen, GLIBC_2.1); diff --git a/libio/iofopen.c b/libio/iofopen.c index 41da8f1..e8f39ae 100644 --- a/libio/iofopen.c +++ b/libio/iofopen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -59,7 +59,7 @@ _IO_new_fopen (filename, mode) return NULL; } -#ifdef DO_VERSIONING +#if defined PIC && DO_VERSIONING strong_alias (_IO_new_fopen, __new_fopen) default_symbol_version (_IO_new_fopen, _IO_fopen, GLIBC_2.1); default_symbol_version (__new_fopen, fopen, GLIBC_2.1); diff --git a/libio/oldfileops.c b/libio/oldfileops.c index a8237c6..41fbc69 100644 --- a/libio/oldfileops.c +++ b/libio/oldfileops.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU IO Library. Written by Per Bothner <bothner@cygnus.com>. @@ -26,7 +26,7 @@ /* This is a compatibility file. If we don't build the libc with versioning don't compile this file. */ -#if DO_VERSIONING +#if defined PIC && DO_VERSIONING #ifndef _POSIX_SOURCE @@ -719,4 +719,4 @@ struct _IO_jump_t _IO_old_file_jumps = }; -#endif /* DO_VERSIONING */ +#endif /* PIC && DO_VERSIONING */ |