summaryrefslogtreecommitdiff
path: root/include/rpc/clnt.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-20 22:11:44 +0000
commitcb97aadebfeba7f5e8f1b85beee5ab10e88c2990 (patch)
treef5f56f2ef0f3048325419857d0b538135524ff8c /include/rpc/clnt.h
parentb133fe1cac9f99b63ea56daf92caa1423b1289d0 (diff)
Last portion of libc_hidden_proto removal.
Appears to build fine (several .configs tried)
Diffstat (limited to 'include/rpc/clnt.h')
-rw-r--r--include/rpc/clnt.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h
index cf271c5c1..72801e382 100644
--- a/include/rpc/clnt.h
+++ b/include/rpc/clnt.h
@@ -310,6 +310,7 @@ extern CLIENT *clnt_create (__const char *__host, __const u_long __prog,
extern CLIENT *clnttcp_create (struct sockaddr_in *__raddr, u_long __prog,
u_long __version, int *__sockp, u_int __sendsz,
u_int __recvsz) __THROW;
+libc_hidden_proto(clnttcp_create)
/*
* UDP based rpc.
@@ -335,12 +336,12 @@ extern CLIENT *clnttcp_create (struct sockaddr_in *__raddr, u_long __prog,
extern CLIENT *clntudp_create (struct sockaddr_in *__raddr, u_long __program,
u_long __version, struct timeval __wait_resend,
int *__sockp) __THROW;
+libc_hidden_proto(clntudp_create)
extern CLIENT *clntudp_bufcreate (struct sockaddr_in *__raddr,
u_long __program, u_long __version,
struct timeval __wait_resend, int *__sockp,
u_int __sendsz, u_int __recvsz) __THROW;
-
-
+libc_hidden_proto(clntudp_bufcreate)
/*
@@ -357,6 +358,7 @@ extern CLIENT *clntudp_bufcreate (struct sockaddr_in *__raddr,
extern CLIENT *clntunix_create (struct sockaddr_un *__raddr, u_long __program,
u_long __version, int *__sockp,
u_int __sendsz, u_int __recvsz) __THROW;
+libc_hidden_proto(clntunix_create)
extern int callrpc (__const char *__host, __const u_long __prognum,
@@ -364,12 +366,14 @@ extern int callrpc (__const char *__host, __const u_long __prognum,
__const xdrproc_t __inproc, __const char *__in,
__const xdrproc_t __outproc, char *__out) __THROW;
extern int _rpc_dtablesize (void) __THROW;
+libc_hidden_proto(_rpc_dtablesize)
/*
* Print why creation failed
*/
extern void clnt_pcreateerror (__const char *__msg); /* stderr */
extern char *clnt_spcreateerror(__const char *__msg) __THROW; /* string */
+libc_hidden_proto(clnt_spcreateerror)
/*
* Like clnt_perror(), but is more verbose in its output
@@ -381,8 +385,11 @@ extern void clnt_perrno (enum clnt_stat __num); /* stderr */
*/
extern void clnt_perror (CLIENT *__clnt, __const char *__msg);
/* stderr */
+libc_hidden_proto(clnt_perror)
extern char *clnt_sperror (CLIENT *__clnt, __const char *__msg) __THROW;
/* string */
+libc_hidden_proto(clnt_sperror)
+
/*
* If a creation fails, the following allows the user to figure out why.
@@ -400,6 +407,7 @@ extern struct rpc_createerr rpc_createerr;
* Copy error message to buffer.
*/
extern char *clnt_sperrno (enum clnt_stat __num) __THROW; /* string */
+libc_hidden_proto(clnt_sperrno)
/*
* get the port number on the host for the rpc program,version and proto