summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-25 01:01:09 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-25 11:39:26 +0100
commit8287b6ffdf2cb631591decb17429701218122259 (patch)
treedd27e493119b4c80c288bb5eeb3fb91ffaa6733d /exec
parente5583e10eed68f75e8981571d322b553b784dd5b (diff)
libtrivfs: improve the mig mutator functions
Previously, the mig mutator functions were in migsupport.c, preventing them from being inlined into the mig-generated server functions. Put them in mig-decls.h instead. Rename mutations.h to mig-mutate.h. This is the naming convention used for pflocal. * libtrivfs/fsmutations.h: Rename to mig-mutate.h, adopt imports. * libtrivfs/Makefile: Adopt accordingly. * libtrivfs/migsupport.c: Rename to mig-decls.h. * libtrivfs/trivfs.h: Move dynamic classes/buckets declarations to mig-decls.h, remove superfluous imports. * exec/execmutations.h: Fix import. * pfinet/mig-mutate.h: Likewise. * trans/Makefile: Likewise.
Diffstat (limited to 'exec')
-rw-r--r--exec/execmutations.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/exec/execmutations.h b/exec/execmutations.h
index 96b47721..ffcba9cd 100644
--- a/exec/execmutations.h
+++ b/exec/execmutations.h
@@ -3,6 +3,8 @@
#define FILE_INTRAN trivfs_protid_t trivfs_begin_using_protid (file_t)
#define FILE_DESTRUCTOR trivfs_end_using_protid (trivfs_protid_t)
-#define EXEC_IMPORTS import "priv.h";
+#define EXEC_IMPORTS \
+ import "priv.h"; \
+ import "../libtrivfs/mig-decls.h"; \
#define SERVERCOPY 1