keep appropriate id's in 'created from' lines
This commit is contained in:
parent
4d3fb006eb
commit
9fb6210877
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh -
|
||||
# from: @(#)makesyscalls.sh 8.1 (Berkeley) 6/11/93
|
||||
# $Id: makesyscalls.sh,v 1.5 1994/04/04 10:04:00 deraadt Exp $
|
||||
# $Id: makesyscalls.sh,v 1.6 1994/05/01 06:14:04 cgd Exp $
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -49,17 +49,17 @@ awk < $1 "
|
|||
printf " * DO NOT EDIT-- this file is automatically generated.\n" > syshdr
|
||||
}
|
||||
NR == 1 {
|
||||
printf " * created from%s\n */\n\n", $0 > sysdcl
|
||||
printf " * created from: %s %s %s %s\n */\n\n",$2,$3,$4,$5 > sysdcl
|
||||
printf "#include <sys/param.h>\n" > sysdcl
|
||||
printf "#include <sys/systm.h>\n\n" > sysdcl
|
||||
printf "int\tnosys();\n\n" > sysdcl
|
||||
|
||||
printf "struct sysent sun_sysent[] = {\n" > sysent
|
||||
|
||||
printf " * created from%s\n */\n\n", $0 > sysnames
|
||||
printf " * created from: %s %s %s %s\n */\n\n",$2,$3,$4,$5 > sysnames
|
||||
printf "char *sun_syscallnames[] = {\n" > sysnames
|
||||
|
||||
printf " * created from%s\n */\n\n", $0 > syshdr
|
||||
printf " * created from: %s %s %s %s\n */\n\n",$2,$3,$4,$5 > syshdr
|
||||
next
|
||||
}
|
||||
NF == 0 || $1 ~ /^;/ {
|
||||
|
|
Loading…
Reference in New Issue