Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 1999 05:52:28 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys linker_set.h
Message-ID:  <199905081252.FAA00624@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       1999/05/08 05:52:27 PDT

  Modified files:
    sys/sys              linker_set.h 
  Log:
  ls_items[] is most definately not a set of pointers to const objects..
  sysinits, for example, are sorted by swapping those objects(!).  Perhaps
  they should be const and the sysinit sorting should be swapping the
  pointers rather than the targets.  This is on my revisit list, but it
  has the side effect of removing a lot of warnings.  With -Wcast-qual, it
  doesn't seem easy to get rid of the constness when you *know* it's not.
  (With apologies to bde, this essentially reverts rev 1.21 of kernel.h
   from back in 1996)
  
  Revision  Changes    Path
  1.2       +3 -3      src/sys/sys/linker_set.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?199905081252.FAA00624>