=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/whatis/Attic/whatis.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/whatis/Attic/whatis.c 2003/06/10 22:20:54 1.9 --- src/usr.bin/whatis/Attic/whatis.c 2005/10/17 19:04:20 1.10 *************** *** 1,4 **** ! /* $OpenBSD: whatis.c,v 1.9 2003/06/10 22:20:54 deraadt Exp $ */ /* * Copyright (c) 1987, 1993 --- 1,4 ---- ! /* $OpenBSD: whatis.c,v 1.10 2005/10/17 19:04:20 otto Exp $ */ /* * Copyright (c) 1987, 1993 *************** *** 108,115 **** else { config(conffile); ep = (tp = getlist("_whatdb")) == NULL ? ! NULL : tp->list.tqh_first; ! for (; ep != NULL; ep = ep->q.tqe_next) whatis(argv, ep->s, 0); } --- 108,115 ---- else { config(conffile); ep = (tp = getlist("_whatdb")) == NULL ? ! NULL : TAILQ_FIRST(&tp->list); ! for (; ep != NULL; ep = TAILQ_NEXT(ep, q)) whatis(argv, ep->s, 0); }