about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/iofopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iofopen.c b/libio/iofopen.c
index b74b6926c0..59d1ce571e 100644
--- a/libio/iofopen.c
+++ b/libio/iofopen.c
@@ -65,7 +65,7 @@ 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_symbol (_IO_new_fopen, _IO_fopen)
-weak_symbol (_IO_new_fopen, fopen)
+weak_alias (_IO_new_fopen, _IO_fopen)
+weak_alias (_IO_new_fopen, fopen)
 # endif
 #endif