summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1997-12-16 18:51:45 +0000
committereivind <eivind@FreeBSD.org>1997-12-16 18:51:45 +0000
commit116485ab6e5824c0ab614d6ebe0d2bd20f62417f (patch)
treee0efba7834282c82ebbcc034b45bb1fe8e79ffcb /sys
parent670fa6a5ddfa88fdffdaf7081a98feb307de3ea3 (diff)
downloadFreeBSD-src-116485ab6e5824c0ab614d6ebe0d2bd20f62417f.zip
FreeBSD-src-116485ab6e5824c0ab614d6ebe0d2bd20f62417f.tar.gz
Move around opt_compat include to accomodate Linulator brokenness (for
the time being).
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/makesyscalls.sh7
1 files changed, 4 insertions, 3 deletions
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
OpenPOWER on IntegriCloud