From: Thomas Petazzoni Date: Tue, 12 Feb 2013 14:57:56 +0000 (-0500) Subject: rpcent: remove prototypes of reentrant variants X-Git-Tag: libtirpc-0-2-3~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee765e67f88cdae4cc04f46472f3d2fb6c9f2246;p=libtirpc rpcent: remove prototypes of reentrant variants The reentrant variants of getrpcbynumber() and al. are not implemented by libtirpc, so there is no point in advertising them in this header file. Signed-off-by: Thomas Petazzoni Signed-off-by: Steve Dickson --- diff --git a/tirpc/rpc/rpcent.h b/tirpc/rpc/rpcent.h index 7fd93d9..5a0c3cf 100644 --- a/tirpc/rpc/rpcent.h +++ b/tirpc/rpc/rpcent.h @@ -54,11 +54,6 @@ struct rpcent { int r_number; /* rpc program number */ }; -extern struct rpcent *getrpcbyname_r(const char *, struct rpcent *, - char *, int); -extern struct rpcent *getrpcbynumber_r(int, struct rpcent *, char *, int); -extern struct rpcent *getrpcent_r(struct rpcent *, char *, int); - /* Old interfaces that return a pointer to a static area; MT-unsafe */ extern struct rpcent *getrpcbyname(char *); extern struct rpcent *getrpcbynumber(int);