Deleted Added
full compact
makesyscalls.sh (6380) makesyscalls.sh (7090)
1#! /bin/sh -
2# @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93
1#! /bin/sh -
2# @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93
3# $Id: makesyscalls.sh,v 1.10 1994/11/06 21:57:16 ats Exp $
3# $Id: makesyscalls.sh,v 1.11 1995/02/14 19:22:29 sos Exp $
4
5set -e
6
7# name of compat option:
8compat=COMPAT_43
9
10# output files:
11sysnames="syscalls.c"

--- 38 unchanged lines hidden (view full) ---

50 printf "/*\n * System call numbers.\n *\n" > syshdr
51 printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshdr
52 printf "/*\n * System call hiders.\n *\n" > syshide
53 printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshide
54 }
55 NR == 1 {
56 printf " * created from%s\n */\n\n", $0 > sysdcl
57 printf "#include <sys/param.h>\n" > sysdcl
4
5set -e
6
7# name of compat option:
8compat=COMPAT_43
9
10# output files:
11sysnames="syscalls.c"

--- 38 unchanged lines hidden (view full) ---

50 printf "/*\n * System call numbers.\n *\n" > syshdr
51 printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshdr
52 printf "/*\n * System call hiders.\n *\n" > syshide
53 printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshide
54 }
55 NR == 1 {
56 printf " * created from%s\n */\n\n", $0 > sysdcl
57 printf "#include <sys/param.h>\n" > sysdcl
58 printf "#include <sys/systm.h>\n" > sysdcl
59 printf "#include <sys/sysent.h>\n\n" > sysdcl
60
61 printf "struct sysent sysent[] = {\n" > sysent
62
63 printf " * created from%s\n */\n\n", $0 > sysnames
64 printf "char *syscallnames[] = {\n" > sysnames
65
66 printf " * created from%s\n */\n\n", $0 > syshdr

--- 127 unchanged lines hidden ---
58 printf "#include <sys/sysent.h>\n\n" > sysdcl
59
60 printf "struct sysent sysent[] = {\n" > sysent
61
62 printf " * created from%s\n */\n\n", $0 > sysnames
63 printf "char *syscallnames[] = {\n" > sysnames
64
65 printf " * created from%s\n */\n\n", $0 > syshdr

--- 127 unchanged lines hidden ---