summaryrefslogtreecommitdiffstats
path: root/sys/kern/imgact_aout.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_aout.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_aout.c')
-rw-r--r--sys/kern/imgact_aout.c4
1 files changed, 2 insertions, 2 deletions
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 <sys/param.h>
@@ -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);
OpenPOWER on IntegriCloud