about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/genops.c1
-rw-r--r--libio/iofdopen.c2
-rw-r--r--libio/iovdprintf.c1
-rw-r--r--libio/libioP.h12
-rw-r--r--libio/wgenops.c1
5 files changed, 15 insertions, 2 deletions
diff --git a/libio/genops.c b/libio/genops.c
index 5f16894505..e0ea74dd5b 100644
--- a/libio/genops.c
+++ b/libio/genops.c
@@ -236,6 +236,7 @@ __overflow (f, ch)
     _IO_fwide (f, -1);
   return _IO_OVERFLOW (f, ch);
 }
+libc_hidden_def (__overflow)
 
 static int save_for_backup __P ((_IO_FILE *fp, char *end_p))
 #ifdef _LIBC
diff --git a/libio/iofdopen.c b/libio/iofdopen.c
index c86cf0f3ca..2fb493e785 100644
--- a/libio/iofdopen.c
+++ b/libio/iofdopen.c
@@ -37,7 +37,7 @@
 
 #ifndef _IO_fcntl
 #ifdef _LIBC
-#define _IO_fcntl INTUSE(__fcntl)
+#define _IO_fcntl __fcntl
 #else
 #define _IO_fcntl fcntl
 #endif
diff --git a/libio/iovdprintf.c b/libio/iovdprintf.c
index dab9a17fca..33fac6d8bd 100644
--- a/libio/iovdprintf.c
+++ b/libio/iovdprintf.c
@@ -26,7 +26,6 @@
    in files containing the exception.  */
 
 #include "libioP.h"
-#include "libio.h"
 #include <stdio_ext.h>
 
 int
diff --git a/libio/libioP.h b/libio/libioP.h
index cb9e918468..9cf1a617aa 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -48,6 +48,18 @@
 #ifndef INTDEF2
 # define INTDEF2(name)
 #endif
+#ifndef libc_hidden_proto
+# define libc_hidden_proto(name)
+#endif
+#ifndef libc_hidden_def
+# define libc_hidden_def(name)
+#endif
+#ifndef libc_hidden_weak
+# define libc_hidden_weak(name)
+#endif
+
+libc_hidden_proto (__overflow)
+libc_hidden_proto (__woverflow)
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/libio/wgenops.c b/libio/wgenops.c
index e3586a7ec8..2b65af1e76 100644
--- a/libio/wgenops.c
+++ b/libio/wgenops.c
@@ -246,6 +246,7 @@ __woverflow (f, wch)
     _IO_fwide (f, 1);
   return _IO_OVERFLOW (f, wch);
 }
+libc_hidden_def (__woverflow)
 
 
 wint_t