Justus Winter, le Mon 02 Dec 2013 18:01:46 +0100, a écrit : > 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. > > * pfinet/main.c: Include the mig-generated server headers.
Ack. > --- > pfinet/main.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/pfinet/main.c b/pfinet/main.c > index dce1600..a596e18 100644 > --- a/pfinet/main.c > +++ b/pfinet/main.c > @@ -72,16 +72,17 @@ const char *argp_program_version = STANDARD_HURD_VERSION > (pfinet); > /* Option parser. */ > extern struct argp pfinet_argp; > > +#include "io_S.h" > +#include "socket_S.h" > +#include "pfinet_S.h" > +#include "iioctl_S.h" > +#include "startup_notify_S.h" > + > int > pfinet_demuxer (mach_msg_header_t *inp, > mach_msg_header_t *outp) > { > struct port_info *pi; > - mig_routine_t io_server_routine (mach_msg_header_t *); > - mig_routine_t socket_server_routine (mach_msg_header_t *); > - mig_routine_t pfinet_server_routine (mach_msg_header_t *); > - mig_routine_t iioctl_server_routine (mach_msg_header_t *); > - mig_routine_t startup_notify_server_routine (mach_msg_header_t *); > > /* We have several classes in one bucket, which need to be demuxed > differently. */ > -- > 1.7.10.4 > > -- Samuel <studdud> what the fuck is wtf