summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/rpc_dtablesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/rpc_dtablesize.c')
-rw-r--r--lib/libc/rpc/rpc_dtablesize.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/rpc/rpc_dtablesize.c b/lib/libc/rpc/rpc_dtablesize.c
index 44b32796..16e0a2b 100644
--- a/lib/libc/rpc/rpc_dtablesize.c
+++ b/lib/libc/rpc/rpc_dtablesize.c
@@ -1,3 +1,5 @@
+/* $NetBSD: rpc_dtablesize.c,v 1.14 1998/11/15 17:32:43 christos Exp $ */
+
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
* unrestricted use provided that this legend is included on all tape
@@ -27,14 +29,18 @@
* Mountain View, California 94043
*/
+#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
/*static char *sccsid = "from: @(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";*/
/*static char *sccsid = "from: @(#)rpc_dtablesize.c 2.1 88/07/29 4.0 RPCSRC";*/
static char *rcsid = "$FreeBSD$";
#endif
-#include <sys/types.h>
+#include "namespace.h"
#include <unistd.h>
+#include "un-namespace.h"
+
+int _rpc_dtablesize __P((void)); /* XXX */
/*
* Cache the result of getdtablesize(), so we don't have to do an
OpenPOWER on IntegriCloud