about summary refs log tree commit diff
path: root/libio/libio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/libio.h')
-rw-r--r--libio/libio.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libio/libio.h b/libio/libio.h
index 5118b1e980..129c7312c2 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -278,10 +278,7 @@ extern void _IO_flockfile __P ((_IO_FILE *));
 extern void _IO_funlockfile __P ((_IO_FILE *));
 extern int _IO_ftrylockfile __P ((_IO_FILE *));
 
-#ifdef _IO_MTSAFE_IO
-weak_extern (_IO_flockfile)
-weak_extern (_IO_funlockfile)
-#else
+#ifndef _IO_MTSAFE_IO
 # define _IO_flockfile(_fp) /**/
 # define _IO_funlockfile(_fp) /**/
 # define _IO_ftrylockfile(_fp) /**/