about summary refs log tree commit diff
path: root/sunrpc/rpc/rpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/rpc/rpc.h')
-rw-r--r--sunrpc/rpc/rpc.h3
1 files changed, 3 insertions, 0 deletions
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 <rpc/netdb.h>		/* 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 */