diff options
author | ume <ume@FreeBSD.org> | 2014-08-30 10:16:25 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2014-08-30 10:16:25 +0000 |
commit | 7642dd9269b5e4ac7a60c333921d606f62925a5a (patch) | |
tree | 3d3bc3eb7ea30467632ad8ae097b2ee653990edb /lib/libc/include | |
parent | 80004c0874fc6f974f7940f2c3148eaa440d04f4 (diff) | |
download | FreeBSD-src-7642dd9269b5e4ac7a60c333921d606f62925a5a.zip FreeBSD-src-7642dd9269b5e4ac7a60c333921d606f62925a5a.tar.gz |
MFC r269867:
Update our stub resolver to final version of libbind
(libbind-6.0).
Obtained from: ISC
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/isc/eventlib.h | 22 | ||||
-rw-r--r-- | lib/libc/include/isc/list.h | 3 | ||||
-rw-r--r-- | lib/libc/include/port_before.h | 1 |
3 files changed, 14 insertions, 12 deletions
diff --git a/lib/libc/include/isc/eventlib.h b/lib/libc/include/isc/eventlib.h index 5003823..a4cfdf9 100644 --- a/lib/libc/include/isc/eventlib.h +++ b/lib/libc/include/isc/eventlib.h @@ -1,24 +1,24 @@ /* - * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") - * Copyright (c) 1995-1999 by Internet Software Consortium + * Copyright (C) 2004, 2005, 2008 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 1995-1999, 2001, 2003 Internet Software Consortium. * - * Permission to use, copy, modify, and distribute this software for any + * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * - * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT - * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. */ /* eventlib.h - exported interfaces for eventlib * vix 09sep95 [initial] * - * $Id: eventlib.h,v 1.3.18.3 2008/01/23 02:12:01 marka Exp $ + * $Id: eventlib.h,v 1.7 2008/11/14 02:36:51 marka Exp $ */ #ifndef _EVENTLIB_H diff --git a/lib/libc/include/isc/list.h b/lib/libc/include/isc/list.h index fef631b..ffd0c51 100644 --- a/lib/libc/include/isc/list.h +++ b/lib/libc/include/isc/list.h @@ -38,7 +38,8 @@ } while (0) #define INIT_LINK(elt, link) \ INIT_LINK_TYPE(elt, link, void) -#define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1)) +#define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ + (void *)((elt)->link.next) != (void *)(-1)) #define HEAD(list) ((list).head) #define TAIL(list) ((list).tail) diff --git a/lib/libc/include/port_before.h b/lib/libc/include/port_before.h index 304dd66..4b6e359 100644 --- a/lib/libc/include/port_before.h +++ b/lib/libc/include/port_before.h @@ -6,6 +6,7 @@ #define _LIBC 1 #define DO_PTHREADS 1 #define USE_KQUEUE 1 +#define HAVE_MD5 1 #define ISC_SOCKLEN_T socklen_t #define ISC_FORMAT_PRINTF(fmt, args) \ |