diff options
Diffstat (limited to 'inet')
-rw-r--r-- | inet/getrpcent.c | 2 | ||||
-rw-r--r-- | inet/getrpcent_r.c | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/inet/getrpcent.c b/inet/getrpcent.c index 5b2274a..e3e5b52 100644 --- a/inet/getrpcent.c +++ b/inet/getrpcent.c @@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA. */ #define LOOKUP_TYPE struct rpcent -#define GETFUNC_NAME rpcent +#define GETFUNC_NAME getrpcent #define BUFLEN 1024 #include "../nss/getXXent.c" diff --git a/inet/getrpcent_r.c b/inet/getrpcent_r.c index aeb78aa..3a64e71 100644 --- a/inet/getrpcent_r.c +++ b/inet/getrpcent_r.c @@ -16,12 +16,15 @@ License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include <rpc/netdb.h> +#include <netdb.h> -#define DATABASE_NAME rpc #define LOOKUP_TYPE struct rpcent -#define GETFUNC_NAME rpcent -#define BUFLEN 1024 +#define SETFUNC_NAME setrpcent +#define GETFUNC_NAME getrpcent +#define ENDFUNC_NAME endrpcent +#define DATABASE_NAME rpc +#define STAYOPEN int stayopen +#define STAYOPEN_VAR stayopen #include "../nss/getXXent_r.c" |