summaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-12 01:34:04 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-12 01:34:04 +0000
commit07bbf922670cce83c0b54f28ad43473d044cae5e (patch)
treebc0febf583571380d2bf78f8759bc0a770031fc6 /include/rpc
parenta8a63535295e35307f63adc1d665f13016f65110 (diff)
Functions should be either exported in public .h files
and marked with libc_hidden_proto/def(), or not be exported in .h files and be hidden (or even static if possible). We have five functions which violate this. Fixing: netdb.h: export ruserpass() rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply() make inet_ntoa_r static function (it is not exported in any .h file) make _time_tzset hidden function (it is not exported in any .h file)
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/rpc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index 9236e7205..8194ffee3 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -105,6 +105,9 @@ 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 ())
+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 */