X-Git-Url: https://git.saurik.com/apple/libinfo.git/blobdiff_plain/03fb6eb005e0e1ca66f0422cb7821f0a2ad2d381..811f46babfa7c864312d4f139ed950da6c869dd6:/rpc.subproj/rpc_dtablesize.c diff --git a/rpc.subproj/rpc_dtablesize.c b/rpc.subproj/rpc_dtablesize.c index bfdd00b..39a313a 100644 --- a/rpc.subproj/rpc_dtablesize.c +++ b/rpc.subproj/rpc_dtablesize.c @@ -53,15 +53,17 @@ #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 = "$Id: rpc_dtablesize.c,v 1.2 1999/10/14 21:56:54 wsanchez Exp $"; +static char *rcsid = "$Id: rpc_dtablesize.c,v 1.3 2002/02/19 20:36:24 epeyton Exp $"; #endif +#include #include /* * Cache the result of getdtablesize(), so we don't have to do an * expensive system call every time. */ +int _rpc_dtablesize() { static int size;