Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include PR/43258: Hauke Fath: remove duplicate setservent de...



details:   https://anonhg.NetBSD.org/src/rev/2a14897ce0ed
branches:  trunk
changeset: 754600:2a14897ce0ed
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 05 17:12:29 2010 +0000

description:
PR/43258: Hauke Fath: remove duplicate setservent declaration

diffstat:

 include/netdb.h |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 8f5fef6d2481 -r 2a14897ce0ed include/netdb.h
--- a/include/netdb.h   Wed May 05 16:53:57 2010 +0000
+++ b/include/netdb.h   Wed May 05 17:12:29 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netdb.h,v 1.63 2010/04/25 00:54:45 joerg Exp $ */
+/*     $NetBSD: netdb.h,v 1.64 2010/05/05 17:12:29 christos Exp $      */
 
 /*
  * ++Copyright++ 1980, 1983, 1988, 1993
@@ -337,9 +337,9 @@
 #endif
 void           setnetent(int);
 void           setprotoent(int);
+void           setservent(int);
 #if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 520 || \
     defined(_NETBSD_SOURCE)
-void           setservent(int);
 int            getaddrinfo(const char * __restrict, const char * __restrict,
                                 const struct addrinfo * __restrict,
                                 struct addrinfo ** __restrict);
@@ -350,7 +350,6 @@
 void           freeaddrinfo(struct addrinfo *);
 const char     *gai_strerror(int);
 #endif
-void           setservent(int);
 __END_DECLS
 
 #endif /* !_NETDB_H_ */



Home | Main Index | Thread Index | Old Index