Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/include/rump grab mount-related macros too



details:   https://anonhg.NetBSD.org/src/rev/57306e58f24d
branches:  trunk
changeset: 786727:57306e58f24d
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed May 08 00:57:06 2013 +0000

description:
grab mount-related macros too

diffstat:

 sys/rump/include/rump/makerumpdefs.sh |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r ff5cddfc3d9b -r 57306e58f24d sys/rump/include/rump/makerumpdefs.sh
--- a/sys/rump/include/rump/makerumpdefs.sh     Wed May 08 00:34:50 2013 +0000
+++ b/sys/rump/include/rump/makerumpdefs.sh     Wed May 08 00:57:06 2013 +0000
@@ -8,7 +8,7 @@
 rm -f rumpdefs.h
 exec > rumpdefs.h
 
-printf '/*     $NetBSD: makerumpdefs.sh,v 1.15 2013/05/08 00:25:31 pooka Exp $ */\n\n'
+printf '/*     $NetBSD: makerumpdefs.sh,v 1.16 2013/05/08 00:57:06 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'
@@ -61,6 +61,12 @@
 sed -n '/#define[      ]*SOL_[A-Z]/s/SOL_/RUMP_&/gp' <../../../sys/socket.h \
     | sed 's,/\*.*$,,'
 
+fromvers ../../../sys/mount.h
+sed -n '/#define[      ]*MOUNT_[A-Z]/s/MOUNT_/RUMP_MOUNT_/gp' <../../../sys/mount.h | sed 's,/\*.*$,,'
+
+fromvers ../../../sys/fstypes.h
+sed -n '/#define[      ]*MNT_[A-Z].*[^\]$/s/MNT_/RUMP_MNT_/gp' <../../../sys/fstypes.h | sed 's,/\*.*$,,'
+
 fromvers ../../../sys/module.h
 getstruct ../../../sys/module.h modctl_load
 



Home | Main Index | Thread Index | Old Index