summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/xdr_stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/xdr_stdio.c')
-rw-r--r--libc/inet/rpc/xdr_stdio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/inet/rpc/xdr_stdio.c b/libc/inet/rpc/xdr_stdio.c
index 5c8aec6f9..8bd08590d 100644
--- a/libc/inet/rpc/xdr_stdio.c
+++ b/libc/inet/rpc/xdr_stdio.c
@@ -37,12 +37,6 @@
* from the stream.
*/
-#define fread __fread
-#define fwrite __fwrite
-#define fseek __fseek
-#define fflush __fflush
-#define ftell __ftell
-
#include <rpc/types.h>
#include <stdio.h>
#include <rpc/xdr.h>
@@ -55,6 +49,12 @@
# define fwrite(p, m, n, s) _IO_fwrite (p, m, n, s)
#endif
+libc_hidden_proto(fread)
+libc_hidden_proto(fwrite)
+libc_hidden_proto(fseek)
+libc_hidden_proto(fflush)
+libc_hidden_proto(ftell)
+
static bool_t xdrstdio_getlong (XDR *, long *);
static bool_t xdrstdio_putlong (XDR *, const long *);
static bool_t xdrstdio_getbytes (XDR *, caddr_t, u_int);