diff --git a/sunrpc/rpc/rpc.h b/sunrpc/rpc/rpc.h index 5150abf687..38e43859dd 100644 --- a/sunrpc/rpc/rpc.h +++ b/sunrpc/rpc/rpc.h @@ -67,6 +67,7 @@ /* routines for parsing /etc/rpc */ #include /* structures and routines to parse /etc/rpc */ +__BEGIN_DECLS /* Global variables, protected for multi-threaded applications. */ extern fd_set *__rpc_thread_svc_fdset (void) __attribute__ ((__const__)); @@ -91,4 +92,6 @@ extern struct pollfd **__rpc_thread_svc_pollfd (void) extern int *__rpc_thread_svc_max_pollfd (void) __attribute__ ((__const__)); #define svc_max_pollfd (*__rpc_thread_svc_max_pollfd ()) +__END_DECLS + #endif /* rpc/rpc.h */