Skip site navigation (1)Skip section navigation (2)
Date:      11 Dec 2000 18:03:00 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: eye-candy hack - warp_saver changing direction :)
Message-ID:  <xzphf4ariuz.fsf@flood.ping.uio.no>
In-Reply-To: Peter Pentchev's message of "Mon, 11 Dec 2000 18:55:24 %2B0200"
References:  <20001211161847.A606@ringworld.oblivion.bg> <xzpvgsrq759.fsf@flood.ping.uio.no> <20001211180346.C606@ringworld.oblivion.bg> <20001211185524.E606@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev <roam@orbitel.bg> writes:
> SYSCTL_DECL(_kern_saver);

SYSCTL_DECL is for declaring a node that's defined elsewhere. You
should use the following instead:

SYSCTL_NODE(_kern, OID_AUTO, saver, CTLFLAG_RW, NULL, "Screensavers");

There's no substitute for reading src/sys/sys/sysctl.h.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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