Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Do not expose the current implementation of the serv...
details: https://anonhg.NetBSD.org/src/rev/8b65244d1c64
branches: trunk
changeset: 559583:8b65244d1c64
user: christos <christos%NetBSD.org@localhost>
date: Sat Mar 20 18:22:22 2004 +0000
description:
Do not expose the current implementation of the serv*_r proto*_r functions,
since this is not how we will implement them when we do. From discussions
with Brian Ginsbach and Soda-san.
diffstat:
include/netdb.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6b8eb31a70f0 -r 8b65244d1c64 include/netdb.h
--- a/include/netdb.h Sat Mar 20 17:30:40 2004 +0000
+++ b/include/netdb.h Sat Mar 20 18:22:22 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netdb.h,v 1.33 2004/02/23 16:05:19 christos Exp $ */
+/* $NetBSD: netdb.h,v 1.34 2004/03/20 18:22:22 christos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -314,7 +314,7 @@
#endif
void setservent __P((int));
-#if defined(_NETBSD_SOURCE)
+#if defined(_NETBSD_SOURCE) && defined(_LIBC)
struct protoent_data {
FILE *fp;
@@ -353,7 +353,7 @@
void setservent_r __P((int, struct servent_data *));
void endservent_r __P((struct servent_data *));
-#endif /* _NETBSD_SOURCE */
+#endif /* _NETBSD_SOURCE && _LIBC */
__END_DECLS
#endif /* !_NETDB_H_ */
Home |
Main Index |
Thread Index |
Old Index