From 072a211f3573aae83ee729df53b1c57d9f3e80cc Mon Sep 17 00:00:00 2001 From: dillon Date: Fri, 29 Jan 1999 22:59:43 +0000 Subject: *_execsw static structures cannot be const due to the way they interact with EXEC_SET, DECLARE_MODULE, and module_register. Specifically, module_register. We may eventually be able to make these const, but not now. --- sys/kern/imgact_aout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/imgact_aout.c') diff --git a/sys/kern/imgact_aout.c b/sys/kern/imgact_aout.c index 9fbd203..570c364 100644 --- a/sys/kern/imgact_aout.c +++ b/sys/kern/imgact_aout.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_aout.c,v 1.43 1998/10/16 03:55:00 peter Exp $ + * $Id: imgact_aout.c,v 1.44 1999/01/01 14:41:51 bde Exp $ */ #include @@ -300,5 +300,5 @@ out: * Since `const' objects end up in the text segment, TEXT_SET is the * correct directive to use. */ -static const struct execsw aout_execsw = { exec_aout_imgact, "a.out" }; +static struct execsw aout_execsw = { exec_aout_imgact, "a.out" }; EXEC_SET(aout, aout_execsw); -- cgit v1.1