Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 23:00:45 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_sysctl.c src/sys/sys sysctl.h
Message-ID:  <200101050700.f0570jv03180@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




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