aboutsummaryrefslogtreecommitdiff
path: root/libio/iofsetpos64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofsetpos64.c')
-rw-r--r--libio/iofsetpos64.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libio/iofsetpos64.c b/libio/iofsetpos64.c
index a70d5e215a..ab2171c14c 100644
--- a/libio/iofsetpos64.c
+++ b/libio/iofsetpos64.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_fsetpos64 (fp, posp)
@@ -63,8 +64,6 @@ _IO_new_fsetpos64 (fp, posp)
#endif
}
-#ifdef weak_alias
-default_symbol_version (_IO_new_fsetpos64, _IO_fsetpos64, GLIBC_2.2);
strong_alias (_IO_new_fsetpos64, __new_fsetpos64)
-default_symbol_version (__new_fsetpos64, fsetpos64, GLIBC_2.2);
-#endif
+versioned_symbol (libc, __new_fsetpos64, fsetpos64, GLIBC_2_2);
+versioned_symbol (libc, _IO_new_fsetpos64, _IO_fsetpos64, GLIBC_2_2);