about summary refs log tree commit diff
path: root/sysdeps/stub/lockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/lockfile.c')
-rw-r--r--sysdeps/stub/lockfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/lockfile.c b/sysdeps/stub/lockfile.c
index b3ccc7bca7..0328071c08 100644
--- a/sysdeps/stub/lockfile.c
+++ b/sysdeps/stub/lockfile.c
@@ -53,8 +53,8 @@ __internal_ftrylockfile (FILE *stream)
   return 1;
 }
 #ifdef USE_IN_LIBIO
-weak_alias (__internal_ftrylockfile, __ftrylockfile)
-#else
 weak_alias (__internal_ftrylockfile, _IO_ftrylockfile)
+#else
+weak_alias (__internal_ftrylockfile, __ftrylockfile)
 #endif
 weak_alias (__internal_ftrylockfile, ftrylockfile);