From 0b3c4d50c2dcaa775184d8e53da7f1dc8642f0df Mon Sep 17 00:00:00 2001 From: Eivind Eklund Date: Tue, 16 Dec 1997 18:51:45 +0000 Subject: [PATCH] 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(-) diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index 159e73f8aa42..9e7d5fe0b7df 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