17 lines
544 B
Text
17 lines
544 B
Text
$NetBSD: patch-ad,v 1.1 2000/12/27 03:26:26 wiz Exp $
|
|
|
|
--- rport.c.orig Sun Jan 17 12:16:52 1999
|
|
+++ rport.c
|
|
@@ -61,10 +61,12 @@
|
|
#define INT_FROM_VOID(x) ((int)(long) (x))
|
|
#define VOID_FROM_INT(x) ((void *) (long) (x))
|
|
|
|
+#if 0
|
|
#ifndef _POSIX_SOURCE
|
|
extern int read( /* int fd, char *buf, unsigned int n */);
|
|
extern int write(/* int fd, const char *buf, unsigned int n */);
|
|
#endif /* _POSIX_SOURC */
|
|
+#endif
|
|
extern int close(/* int fd */);
|
|
extern int gethostname(/* char *address, int addrlen */);
|
|
extern int select(/* int nfds,
|