From ee765e67f88cdae4cc04f46472f3d2fb6c9f2246 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 12 Feb 2013 09:57:56 -0500 Subject: [PATCH] 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 --- tirpc/rpc/rpcent.h | 5 ----- 1 file changed, 5 deletions(-) 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); -- 2.50.1