Transform from kernel file to userland source.
This commit is contained in:
parent
10cde58f33
commit
88d1aeccc5
@ -6,12 +6,16 @@
|
||||
PROG= pack
|
||||
NO_MAN=
|
||||
|
||||
CFLAGS= -include /usr/include/sys/limits.h \
|
||||
-include /usr/include/sys/syslog.h
|
||||
|
||||
all: regress
|
||||
|
||||
pack: pack.c convert.c
|
||||
|
||||
convert.c: ../../../sys/kern/kern_acct.c
|
||||
sed -n '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@
|
||||
sed -n -e 's/log(/syslog(/g' \
|
||||
-e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >$@
|
||||
|
||||
regress: pack regress.t
|
||||
./regress.t
|
||||
|
Loading…
Reference in New Issue
Block a user