bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 46/68] kern/ipc_kobject.c: remove forward declarations


From: Samuel Thibault
Subject: Re: [PATCH 46/68] kern/ipc_kobject.c: remove forward declarations
Date: Thu, 5 Dec 2013 06:47:50 +0900
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Marin Ramesa, le Fri 29 Nov 2013 22:54:11 +0100, a écrit :
> diff --git a/i386/i386/machine_routines.h b/i386/i386/machine_routines.h
> index d77849a..0fdf630 100644
> --- a/i386/i386/machine_routines.h
> +++ b/i386/i386/machine_routines.h
> @@ -33,5 +33,23 @@
>  #define      MACHINE_SERVER          mach_i386_server
>  #define      MACHINE_SERVER_ROUTINE  mach_i386_server_routine
>  
> +#ifndef      mig_external
> +#define mig_external
> +#endif
> +
> +extern mig_external mig_routine_t mach_server_routine(const 
> mach_msg_header_t *InHeadP);

These are generated in a C file which won't include this header anyway,
so it's not useful to put the declarations in it.

-- 
Samuel



reply via email to

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