bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/7] proc: include the mig-generated server headers in main.c


From: Samuel Thibault
Subject: Re: [PATCH 5/7] proc: include the mig-generated server headers in main.c
Date: Sun, 19 Jan 2014 21:07:39 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Mon 02 Dec 2013 18:01:45 +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.
> 
> * proc/main.c: Include the mig-generated server headers.

Ack.

> ---
>  proc/main.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/proc/main.c b/proc/main.c
> index 5d6dc21..73742ed 100644
> --- a/proc/main.c
> +++ b/proc/main.c
> @@ -34,15 +34,15 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 
> 02139, USA.  */
>  
>  const char *argp_program_version = STANDARD_HURD_VERSION (proc);
>  
> +#include "process_S.h"
> +#include "notify_S.h"
> +#include "../libports/interrupt_S.h"
> +#include "proc_exc_S.h"
> +
>  int
>  message_demuxer (mach_msg_header_t *inp,
>                mach_msg_header_t *outp)
>  {
> -  mig_routine_t process_server_routine (mach_msg_header_t *);
> -  mig_routine_t notify_server_routine (mach_msg_header_t *);
> -  mig_routine_t ports_interrupt_server_routine (mach_msg_header_t *);
> -  mig_routine_t proc_exc_server_routine (mach_msg_header_t *);
> -
>    mig_routine_t routine;
>    if ((routine = process_server_routine (inp)) ||
>        (routine = notify_server_routine (inp)) ||
> -- 
> 1.7.10.4
> 
> 

-- 
Samuel
<Raize> can you guys see what I type?
<vecna> no, raize
<Raize> How do I set it up so you can see it?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]