From owner-cvs-all Sat May 8 5:52:30 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 855CA1559C; Sat, 8 May 1999 05:52:28 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA00624; Sat, 8 May 1999 05:52:28 -0700 (PDT) (envelope-from peter@FreeBSD.org) Message-Id: <199905081252.FAA00624@freefall.freebsd.org> From: Peter Wemm Date: Sat, 8 May 1999 05:52:28 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys linker_set.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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