Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 1998 15:34:56 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, jkh@time.cdrom.com
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libutil libutil.h
Message-ID:  <199810090534.PAA22208@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Actually, I erred when I said sysctl - that was a braino.  It's
>actually the linker set stuff for adding new sysctl vars which breaks
>right now and I can send you an example source file which "does all
>the right things" and yet is still unable to compile properly.  I
>found this out when I tried to add a new sysctl frob to vfs_lookup.c

The linker set macros are defined in <sys/kernel.h>, so you have to
include that if you want to use them or want to use the sysctl macros
that use them.  This has been necessary ever since the sysctl macros were
added about 2 years ago in rev.1.24 of sysctl.h - <sys/sysctl.h> never
included <sys/kernel.h>, and it has no direct need for the macros in it.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810090534.PAA22208>