]> granicus.if.org Git - libtirpc/commitdiff
rpcent: remove prototypes of reentrant variants
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 12 Feb 2013 14:57:56 +0000 (09:57 -0500)
committerSteve Dickson <steved@redhat.com>
Tue, 12 Feb 2013 14:58:39 +0000 (09:58 -0500)
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 <thomas.petazzoni@free-electrons.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
tirpc/rpc/rpcent.h

index 7fd93d9f85c540770cbe975e326a870474f54cca..5a0c3cf7731d8b0fec87f03867a2e2f0816763a8 100644 (file)
@@ -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);