From 116485ab6e5824c0ab614d6ebe0d2bd20f62417f Mon Sep 17 00:00:00 2001 From: eivind Date: Tue, 16 Dec 1997 18:51:45 +0000 Subject: Move around opt_compat include to accomodate Linulator brokenness (for the time being). --- sys/kern/makesyscalls.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/kern/makesyscalls.sh') diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index 159e73f..9e7d5fe 100644 --- a/sys/kern/makesyscalls.sh +++ b/sys/kern/makesyscalls.sh @@ -1,6 +1,6 @@ #! /bin/sh - # @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93 -# $Id: makesyscalls.sh,v 1.27 1997/12/08 09:00:47 jmg Exp $ +# $Id: makesyscalls.sh,v 1.28 1997/12/16 17:40:22 eivind Exp $ set -e @@ -78,7 +78,7 @@ s/\$//g printf "/*\n * System call prototypes.\n *\n" > sysarg printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysarg - printf "\n#include \"opt_compat.h\"\n#ifdef %s\n\n", compat > syscompat + printf "\n#ifdef %s\n\n", compat > syscompat printf "/*\n * System call names.\n *\n" > sysnames printf " * DO NOT EDIT-- this file is automatically generated.\n" > sysnames @@ -93,8 +93,9 @@ s/\$//g gsub(" [$]", "", $0) printf " * created from%s\n */\n\n", $0 > sysinc + printf "#include \"opt_compat.h\"\n\n" > sysinc - printf "\n#include \"opt_compat.h\"\n#ifdef %s\n", compat > sysent + printf "\n#ifdef %s\n", compat > sysent printf "#define compat(n, name) n, (sy_call_t *)__CONCAT(o,name)\n" > sysent printf("#else\n") > sysent printf("#define compat(n, name) 0, (sy_call_t *)nosys\n") > sysent -- cgit v1.1