aboutsummaryrefslogtreecommitdiff
path: root/libio/iofgetpos.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofgetpos.c')
-rw-r--r--libio/iofgetpos.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libio/iofgetpos.c b/libio/iofgetpos.c
index 5b8f6a4129..c8ce084647 100644
--- a/libio/iofgetpos.c
+++ b/libio/iofgetpos.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995-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_fgetpos (fp, posp)
@@ -58,8 +59,6 @@ _IO_new_fgetpos (fp, posp)
return 0;
}
-#ifdef weak_alias
strong_alias (_IO_new_fgetpos, __new_fgetpos)
-default_symbol_version (_IO_new_fgetpos, _IO_fgetpos, GLIBC_2.2);
-default_symbol_version (__new_fgetpos, fgetpos, GLIBC_2.2);
-#endif
+versioned_symbol (libc, _IO_new_fgetpos, _IO_fgetpos, GLIBC_2_2);
+versioned_symbol (libc, __new_fgetpos, fgetpos, GLIBC_2_2);