namespace RB_ from reboot.h

This commit is contained in:
pooka 2009-10-09 14:31:47 +00:00
parent 974700b523
commit 4dd39169ff
1 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,7 @@ echo Generating rumpdefs.h
rm -f rumpdefs.h
exec > rumpdefs.h
printf '/* $NetBSD: makerumpdefs.sh,v 1.3 2008/11/17 13:20:22 pooka Exp $ */\n\n'
printf '/* $NetBSD: makerumpdefs.sh,v 1.4 2009/10/09 14:31:47 pooka Exp $ */\n\n'
printf '/*\n *\tAUTOMATICALLY GENERATED. DO NOT EDIT.\n */\n\n'
printf '#ifndef _RUMP_RUMPDEFS_H_\n'
printf '#define _RUMP_RUMPDEFS_H_\n\n'
@ -37,4 +37,8 @@ fromvers ../../../sys/lock.h
sed -n '/#define.*LK_[A-Z]/s/LK_/RUMP_LK_/gp' <../../../sys/lock.h \
| sed 's,/\*.*$,,'
fromvers ../../../sys/reboot.h
sed -n '/#define.*RB_[A-Z]/s/RB_/RUMP_RB_/gp' <../../../sys/reboot.h \
| sed 's,/\*.*$,,'
printf '\n#endif /* _RUMP_RUMPDEFS_H_ */\n'