From 14c25c92be68a13d3ac94bdc46b16ba2590de4c9 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 28 Feb 2010 14:16:56 +0100 Subject: getnet: switch to config parser Signed-off-by: Bernhard Reutner-Fischer --- include/netdb.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/netdb.h b/include/netdb.h index 9d3807d3a..07e1b0d0e 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -238,7 +238,6 @@ libc_hidden_proto(endnetent) This function is a possible cancellation point and therefore not marked with __THROW. */ extern struct netent *getnetent (void); -libc_hidden_proto(getnetent) /* Return entry from network data base which address match NET and type TYPE. @@ -253,8 +252,6 @@ extern struct netent *getnetbyaddr (uint32_t __net, int __type); marked with __THROW. */ extern struct netent *getnetbyname (__const char *__name); -#if 0 -/* FIXME */ #ifdef __USE_MISC /* Reentrant versions of the functions above. The additional arguments specify a buffer of BUFLEN starting at BUF. The last @@ -270,20 +267,20 @@ extern int getnetent_r (struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); - +libc_hidden_proto(getnetent_r) extern int getnetbyaddr_r (uint32_t __net, int __type, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); - +libc_hidden_proto(getnetbyaddr_r) extern int getnetbyname_r (__const char *__restrict __name, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); -#endif /* misc */ -#endif +libc_hidden_proto(getnetbyname_r) +#endif /* __USE_MISC */ /* Description of data base entry for a single service. */ -- cgit v1.2.3