diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-03-21 23:09:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-03-21 23:09:29 +0000 |
commit | fd091d3f3464d5e3c625ce89c83b4dd635aea678 (patch) | |
tree | 1f5bf7599dc8a4eacca0c21a8cb2afa0cb6b02e3 /libio/iofopen.c | |
parent | 75836bc83df5b107d90d552506fd8b49c623cb8a (diff) | |
download | glibc-fd091d3f3464d5e3c625ce89c83b4dd635aea678.zip glibc-fd091d3f3464d5e3c625ce89c83b4dd635aea678.tar.gz glibc-fd091d3f3464d5e3c625ce89c83b4dd635aea678.tar.bz2 |
Update.
* libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
versions.
* libio/iofdopen.c: Likewise.
* libio/iofgetpos.c: Likewise.
* libio/iofgetpos64.c: Likewise.
* libio/iofopen.c: Likewise.
* libio/iofsetpos.c: Likewise.
* libio/iofsetpos64.c: Likewise.
* libio/iopopen.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/pclose.c: Likewise.
* sysdeps/gnu/siglist.c: Likewise.
* sysdeps/unix/sysv/linux/errlist.c: Likewise.
Diffstat (limited to 'libio/iofopen.c')
-rw-r--r-- | libio/iofopen.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/libio/iofopen.c b/libio/iofopen.c index 60b15a0..05e0479 100644 --- a/libio/iofopen.c +++ b/libio/iofopen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -27,6 +27,7 @@ #ifdef __STDC__ #include <stdlib.h> #endif +#include <shlib-compat.h> _IO_FILE * _IO_new_fopen (filename, mode) @@ -60,13 +61,6 @@ _IO_new_fopen (filename, mode) return NULL; } -#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); -#else -# ifdef weak_alias -weak_alias (_IO_new_fopen, _IO_fopen) -weak_alias (_IO_new_fopen, fopen) -# endif -#endif +versioned_symbol (libc, _IO_new_fopen, _IO_fopen, GLIBC_2_1); +versioned_symbol (libc, __new_fopen, fopen, GLIBC_2_1); |