diff options
Diffstat (limited to 'include/rpc/rpc.h')
| -rw-r--r-- | include/rpc/rpc.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h index 8194ffee3..df0542890 100644 --- a/include/rpc/rpc.h +++ b/include/rpc/rpc.h @@ -38,19 +38,6 @@ #ifndef _RPC_RPC_H #define _RPC_RPC_H 1 -#ifdef _LIBC -/* Some adjustments to make the libc source from glibc - * compile more easily with uClibc... */ -#ifndef __FORCE_GLIBC -#define __FORCE_GLIBC -#endif -#ifndef _GNU_SOUCE -#define _GNU_SOUCE -#endif -#define _(X) X -#include <features.h> -#endif - #include <rpc/types.h> /* some typedefs */ #include <netinet/in.h> @@ -84,10 +71,12 @@ __BEGIN_DECLS /* Global variables, protected for multi-threaded applications. */ extern fd_set *__rpc_thread_svc_fdset (void) __attribute__ ((__const__)); +libc_hidden_proto(__rpc_thread_svc_fdset) #define svc_fdset (*__rpc_thread_svc_fdset ()) extern struct rpc_createerr *__rpc_thread_createerr (void) __attribute__ ((__const__)); +libc_hidden_proto(__rpc_thread_createerr) #define get_rpc_createerr() (*__rpc_thread_createerr ()) /* The people who "engineered" RPC should bee punished for naming the data structure and the variable the same. We cannot always define the @@ -100,14 +89,13 @@ extern struct rpc_createerr *__rpc_thread_createerr (void) extern struct pollfd **__rpc_thread_svc_pollfd (void) __attribute__ ((__const__)); +libc_hidden_proto(__rpc_thread_svc_pollfd) #define svc_pollfd (*__rpc_thread_svc_pollfd ()) extern int *__rpc_thread_svc_max_pollfd (void) __attribute__ ((__const__)); +libc_hidden_proto(__rpc_thread_svc_max_pollfd) #define svc_max_pollfd (*__rpc_thread_svc_max_pollfd ()) -extern bool_t xdr_accepted_reply (XDR *xdrs, struct accepted_reply *ar); -extern bool_t xdr_rejected_reply (XDR *xdrs, struct rejected_reply *rr); - __END_DECLS #endif /* rpc/rpc.h */ |
