From ba1f47ffee3d3a2d31a47eeb461283a93e05cf39 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Wed, 4 Dec 2013 11:31:49 +0100 Subject: 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. --- utils/fakeauth.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'utils') 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)) || -- cgit v1.2.3