From owner-freebsd-current Sun Feb 16 21:38:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA25404 for current-outgoing; Sun, 16 Feb 1997 21:38:58 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA25399 for ; Sun, 16 Feb 1997 21:38:55 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id QAA15899; Mon, 17 Feb 1997 16:29:33 +1100 Date: Mon, 17 Feb 1997 16:29:33 +1100 From: Bruce Evans Message-Id: <199702170529.QAA15899@godzilla.zeta.org.au> To: current@FreeBSD.org, sysseh@devetir.qld.gov.au Subject: Re: *Ahem*!!! Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >cc -c -O2 -m486 -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wne >sted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -nostdin >c -I- -I. -I../.. -I../../../include -DNCONS=4 -DMFS -DNFS -DFFS -DTCP_COMPAT_42 > -DINET -DPQ_MEDIUMCACHE -DCOMPAT_43 -DKERNEL ../../vm/kern_lock.c >../../vm/kern_lock.c:92: parse error before `lock_t' >../../vm/kern_lock.c:92: warning: data definition has no type or storage class >../../vm/kern_lock.c:94: parse error before `{' You need run config. kern_lock.c isn't used in -current. It should go away after someone checks than kern/kern_lock.c completely replaces vm/kern_lock.c and merges the relevant parts of the cvs history. Similarly for vm/lock.h -> sys/lock.h. The evil *lock_t, typedefs aren't used much now. Unfortunately, vm/vm_map.h has `simple_lock_data_t ref_lock', where simple_lock_data_t is typedefed as `struct simplelock', so everything that includes vm/vm_map.h has to include sys/lock.h. An include of is currently spammed into . Bruce