diff options
author | 2007-05-27 20:15:04 +0000 | |
---|---|---|
committer | 2007-05-27 20:15:04 +0000 | |
commit | bce47d9c5c1784357b96e5716baa5cf2600af78d (patch) | |
tree | 66344fb7fc234cb8248cc76c8bda11551899799c | |
parent | -static on appropriate functions (diff) | |
download | wireguard-openbsd-bce47d9c5c1784357b96e5716baa5cf2600af78d.tar.xz wireguard-openbsd-bce47d9c5c1784357b96e5716baa5cf2600af78d.zip |
use macros from sys/queue.h
ok otto@
-rw-r--r-- | usr.sbin/ypserv/ypserv/ypserv_db.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/ypserv/ypserv_db.c b/usr.sbin/ypserv/ypserv/ypserv_db.c index 345730dc0d4..d53977e1f02 100644 --- a/usr.sbin/ypserv/ypserv/ypserv_db.c +++ b/usr.sbin/ypserv/ypserv/ypserv_db.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypserv_db.c,v 1.23 2006/04/03 05:01:24 deraadt Exp $ */ +/* $OpenBSD: ypserv_db.c,v 1.24 2007/05/27 20:15:04 pyr Exp $ */ /* * Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se> @@ -34,7 +34,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: ypserv_db.c,v 1.23 2006/04/03 05:01:24 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: ypserv_db.c,v 1.24 2007/05/27 20:15:04 pyr Exp $"; #endif /* @@ -147,7 +147,7 @@ yp_private(datum key, int ypprivate) static void ypdb_close_last(void) { - struct opt_map *last = maps.cqh_last; + struct opt_map *last = CIRCLEQ_LAST(&maps); if (last == (void *)&maps) { yplog(" ypdb_close_last: LRU list is empty!"); |