From owner-cvs-all Thu Jan 4 23: 0:49 2001 From owner-cvs-all@FreeBSD.ORG Thu Jan 4 23:00:45 2001 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CF4E237B402; Thu, 4 Jan 2001 23:00:45 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0570jv03180; Thu, 4 Jan 2001 23:00:45 -0800 (PST) (envelope-from jhb) Message-Id: <200101050700.f0570jv03180@freefall.freebsd.org> From: John Baldwin Date: Thu, 4 Jan 2001 23:00:45 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sysctl.c src/sys/sys sysctl.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/01/04 23:00:45 PST Modified files: sys/kern kern_sysctl.c sys/sys sysctl.h Log: - For dynamic sysctl's added at runtime, don't assume that the name passed to the SYSCTL_ADD_FOO() macros is a constant that should be turned into a string via the pre-processor. Instead, require it to be an explicit string so that names can be generated on the fly. - Make some of the char * arguments to sysctl_add_oid() const to quiet warnings. Revision Changes Path 1.102 +3 -3 src/sys/kern/kern_sysctl.c 1.88 +13 -13 src/sys/sys/sysctl.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message