summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-04 11:27:03 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-20 10:37:00 +0100
commitd04f830dff5b6f184b62a44f2a047fea89068feb (patch)
tree5d7137058e5e4c965f8d9222bead25f3a62415b3 /auth
parent7fb8d6150b57560a7e72f50b4913be11fed0fb97 (diff)
auth: include the mig-generated server headers in auth.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. * auth/auth.c: Include the mig-generated server headers.
Diffstat (limited to 'auth')
-rw-r--r--auth/auth.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/auth/auth.c b/auth/auth.c
index a395e79d..e69c4f86 100644
--- a/auth/auth.c
+++ b/auth/auth.c
@@ -464,18 +464,16 @@ S_auth_server_authenticate (struct authhandle *serverauth,
}
+#include "../libports/notify_S.h"
+#include "../libports/interrupt_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 ports_notify_server_routine (mach_msg_header_t *);
- mig_routine_t ports_interrupt_server_routine (mach_msg_header_t *);
-
mig_routine_t routine;
if ((routine = auth_server_routine (inp)) ||
- (routine = ports_notify_server_routine (inp)) ||
- (routine = ports_interrupt_server_routine (inp)))
+ (routine = ports_interrupt_server_routine (inp)) ||
+ (routine = ports_notify_server_routine (inp)))
{
(*routine) (inp, outp);
return TRUE;