summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_gzip.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-29 22:59:43 +0000
committerdillon <dillon@FreeBSD.org>1999-01-29 22:59:43 +0000
commit072a211f3573aae83ee729df53b1c57d9f3e80cc (patch)
tree57edecef45c5b1cd329935e93f0cec96a547e3ee /sys/kern/imgact_gzip.c
parente71381fcd931491f4ac05f2df28732f51b735745 (diff)
downloadFreeBSD-src-072a211f3573aae83ee729df53b1c57d9f3e80cc.zip
FreeBSD-src-072a211f3573aae83ee729df53b1c57d9f3e80cc.tar.gz
*_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.
Diffstat (limited to 'sys/kern/imgact_gzip.c')
-rw-r--r--sys/kern/imgact_gzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c
index d666a87..35cfe43 100644
--- a/sys/kern/imgact_gzip.c
+++ b/sys/kern/imgact_gzip.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: imgact_gzip.c,v 1.34 1998/07/15 05:00:26 bde Exp $
+ * $Id: imgact_gzip.c,v 1.35 1998/10/16 03:55:00 peter Exp $
*
* This module handles execution of a.out files which have been run through
* "gzip". This saves diskspace, but wastes cpu-cycles and VM.
@@ -374,5 +374,5 @@ Flush(void *vp, u_char * ptr, u_long siz)
* correct directive to use.
*/
-static const struct execsw gzip_execsw = {exec_gzip_imgact, "gzip"};
+static struct execsw gzip_execsw = {exec_gzip_imgact, "gzip"};
EXEC_SET(execgzip, gzip_execsw);
OpenPOWER on IntegriCloud