diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-12 21:37:42 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:22 +0200 |
commit | f47d6c1b28cc323681def539bc7ebd6b3c0707c3 (patch) | |
tree | 410e5dfa8092b8539949f0cf12fda055c831540f /libc/inet/rpc/create_xid.c | |
parent | 119f8bb12d13ac76820d1e374f5161e8479fe8ef (diff) |
use one common prototype for _create_xid
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/rpc/create_xid.c')
-rw-r--r-- | libc/inet/rpc/create_xid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/inet/rpc/create_xid.c b/libc/inet/rpc/create_xid.c index de7f7cfe1..fd673598f 100644 --- a/libc/inet/rpc/create_xid.c +++ b/libc/inet/rpc/create_xid.c @@ -20,7 +20,7 @@ #include <unistd.h> #include <stdlib.h> #include <sys/time.h> -#include <rpc/rpc.h> +#include "rpc_private.h" /* The RPC code is not threadsafe, but new code should be threadsafe. */ @@ -31,7 +31,6 @@ __UCLIBC_MUTEX_STATIC(mylock, PTHREAD_MUTEX_INITIALIZER); static smallint is_initialized; static struct drand48_data __rpc_lrand48_data; -u_long _create_xid (void) attribute_hidden; u_long _create_xid (void) { long res; |