summaryrefslogtreecommitdiff
path: root/libio/iofsetpos.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-21 23:09:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-21 23:09:29 +0000
commitfd091d3f3464d5e3c625ce89c83b4dd635aea678 (patch)
tree1f5bf7599dc8a4eacca0c21a8cb2afa0cb6b02e3 /libio/iofsetpos.c
parent75836bc83df5b107d90d552506fd8b49c623cb8a (diff)
downloadglibc-fd091d3f3464d5e3c625ce89c83b4dd635aea678.tar.gz
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/iofsetpos.c')
-rw-r--r--libio/iofsetpos.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libio/iofsetpos.c b/libio/iofsetpos.c
index bd49c13a83..6ba35939fc 100644
--- a/libio/iofsetpos.c
+++ b/libio/iofsetpos.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997-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
@@ -25,6 +25,7 @@
#include <libioP.h>
#include <errno.h>
+#include <shlib-compat.h>
int
_IO_new_fsetpos (fp, posp)
@@ -58,8 +59,6 @@ _IO_new_fsetpos (fp, posp)
return result;
}
-#ifdef weak_alias
-default_symbol_version (_IO_new_fsetpos, _IO_fsetpos, GLIBC_2.2);
strong_alias (_IO_new_fsetpos, __new_fsetpos)
-default_symbol_version (__new_fsetpos, fsetpos, GLIBC_2.2);
-#endif
+versioned_symbol (libc, _IO_new_fsetpos, _IO_fsetpos, GLIBC_2_2);
+versioned_symbol (libc, __new_fsetpos, fsetpos, GLIBC_2_2);