summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-12-02 12:09:55 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-01-20 10:37:00 +0100
commita917896b61031af1d4b77b3da73e11af646057cf (patch)
tree08531cc53202119d10f0360790ee3ff240c0c10e
parent2a8c466336db734f9f271f041443fd2b790e3071 (diff)
libtrivfs: include the mig-generated server headers in demuxer.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. * libtrivfs/demuxer.c: Include the mig-generated server headers.
-rw-r--r--libtrivfs/demuxer.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libtrivfs/demuxer.c b/libtrivfs/demuxer.c
index 411699fe..306cd115 100644
--- a/libtrivfs/demuxer.c
+++ b/libtrivfs/demuxer.c
@@ -21,17 +21,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "trivfs_io_S.h"
+#include "trivfs_fs_S.h"
+#include "../libports/notify_S.h"
+#include "trivfs_fsys_S.h"
+#include "../libports/interrupt_S.h"
+
int
trivfs_demuxer (mach_msg_header_t *inp,
mach_msg_header_t *outp)
{
- mig_routine_t trivfs_io_server_routine (mach_msg_header_t *);
- mig_routine_t trivfs_fs_server_routine (mach_msg_header_t *);
- mig_routine_t ports_notify_server_routine (mach_msg_header_t *);
- mig_routine_t trivfs_fsys_server_routine (mach_msg_header_t *);
- mig_routine_t ports_interrupt_server_routine (mach_msg_header_t *);
- mig_routine_t trivfs_ifsock_server_routine (mach_msg_header_t *);
-
mig_routine_t routine;
if ((routine = trivfs_io_server_routine (inp)) ||
(routine = trivfs_fs_server_routine (inp)) ||