summaryrefslogtreecommitdiffstats
path: root/sys/kern/makesyscalls.sh
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1997-12-16 17:40:42 +0000
committereivind <eivind@FreeBSD.org>1997-12-16 17:40:42 +0000
commit01dd6091edaa3e5d6ce972956bdaff5e8575d53f (patch)
tree30d706917922e49d5308c417216bcc9b328c78d3 /sys/kern/makesyscalls.sh
parent4c20d2d2104257c955ec51a0f42f26e99f41cac5 (diff)
downloadFreeBSD-src-01dd6091edaa3e5d6ce972956bdaff5e8575d53f.zip
FreeBSD-src-01dd6091edaa3e5d6ce972956bdaff5e8575d53f.tar.gz
Make COMPAT_43 and COMPAT_SUNOS new-style options.
Diffstat (limited to 'sys/kern/makesyscalls.sh')
-rw-r--r--sys/kern/makesyscalls.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index c888e03..159e73f 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.26 1997/11/18 03:34:39 peter Exp $
+# $Id: makesyscalls.sh,v 1.27 1997/12/08 09:00:47 jmg 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#ifdef %s\n\n", compat > syscompat
+ printf "\n#include \"opt_compat.h\"\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
@@ -94,7 +94,7 @@ s/\$//g
printf " * created from%s\n */\n\n", $0 > sysinc
- printf "\n#ifdef %s\n", compat > sysent
+ printf "\n#include \"opt_compat.h\"\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