summaryrefslogtreecommitdiff
path: root/pfinet/Makefile
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-25 00:24:52 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-25 11:39:26 +0100
commite5583e10eed68f75e8981571d322b553b784dd5b (patch)
treeba034ea064a29f97a358228b5f52ee1d1e2ff2ec /pfinet/Makefile
parent86e3141aaf13b1bc55d74bd6f557a62b814e944c (diff)
pfinet: improve the mig mutator functions
Previously, the mig mutator functions were in misc.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. * pfinet/mutations.h: Rename to mig-mutate.h, adopt imports. * pfinet/Makefile: Adopt accordingly. * pfinet/mig-decls.h: New file. * pfinet/misc.c: Move mutator functions to mig-decls.h. * pfinet/pfinet.h: Move type declarations to mig-decls.h, remove mutator declarations. * pfinet/iioctl-ops.c: Include mig-decls.h.
Diffstat (limited to 'pfinet/Makefile')
-rw-r--r--pfinet/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pfinet/Makefile b/pfinet/Makefile
index d442629d..9bda1371 100644
--- a/pfinet/Makefile
+++ b/pfinet/Makefile
@@ -139,9 +139,9 @@ asm/checksum.h: ../config.status
'#include "../linux-src/include/asm-$(asm_syntax)/checksum.h"'
mv -f $@.new $@
-io-MIGSFLAGS = -imacros $(srcdir)/mutations.h
-socket-MIGSFLAGS = -imacros $(srcdir)/mutations.h
+io-MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
+socket-MIGSFLAGS = -imacros $(srcdir)/mig-mutate.h
# cpp doesn't automatically make dependencies for -imacros dependencies. argh.
-io_S.h ioServer.c socket_S.h socketServer.c: mutations.h
+io_S.h ioServer.c socket_S.h socketServer.c: mig-mutate.h
$(OBJS): config.h