summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-04 11:31:49 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-20 10:37:01 +0100
commitba1f47ffee3d3a2d31a47eeb461283a93e05cf39 (patch)
tree5dae643efa59b8dd201676863742cbfd1c92b1f2
parentd04f830dff5b6f184b62a44f2a047fea89068feb (diff)
utils: include the mig-generated server headers in fakeauth.c
GNU MIG recently gained support for emitting x_server_routine declarations in the generated server header file. Using this declaration, the x_server_routine functions can be inlined into the demuxer function. * utils/fakeauth.c: Include the mig-generated server headers.
-rw-r--r--utils/fakeauth.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/fakeauth.c b/utils/fakeauth.c
index 2c72c894..660295f9 100644
--- a/utils/fakeauth.c
+++ b/utils/fakeauth.c
@@ -299,13 +299,11 @@ S_interrupt_operation (mach_port_t port, mach_port_seqno_t seqno)
return interrupt_operation (real_auth_port, 0);
}
+#include "../libports/notify_S.h"
+
static int
auth_demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp)
{
- mig_routine_t auth_server_routine (mach_msg_header_t *);
- mig_routine_t interrupt_server_routine (mach_msg_header_t *);
- mig_routine_t ports_notify_server_routine (mach_msg_header_t *);
-
mig_routine_t routine;
if ((routine = auth_server_routine (inp)) ||
(routine = interrupt_server_routine (inp)) ||