bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 20/29] device/ds_routines.c: remove forward declaration


From: Samuel Thibault
Subject: Re: [PATCH 20/29] device/ds_routines.c: remove forward declaration
Date: Tue, 10 Dec 2013 00:50:50 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Marin Ramesa, le Mon 09 Dec 2013 23:57:35 +0100, a écrit :
> * device/ds_routines.c (free_skbuffs): Remove forward declaration.
> * device/ds_routines.h [LINUX_DEV] [CONFIG_INET] (free_skbuffs): Add 
> prototype.

Mmm, I'd rather keep this hack along the other linux_*_emulation_ops
hacks.

> ---
>  device/ds_routines.c | 1 -
>  device/ds_routines.h | 5 +++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/device/ds_routines.c b/device/ds_routines.c
> index ee575e5..03c680f 100644
> --- a/device/ds_routines.c
> +++ b/device/ds_routines.c
> @@ -99,7 +99,6 @@
>  extern struct device_emulation_ops linux_block_emulation_ops;
>  #ifdef CONFIG_INET
>  extern struct device_emulation_ops linux_net_emulation_ops;
> -extern void free_skbuffs ();
>  #ifdef CONFIG_PCMCIA
>  extern struct device_emulation_ops linux_pcmcia_emulation_ops;
>  #endif /* CONFIG_PCMCIA */
> diff --git a/device/ds_routines.h b/device/ds_routines.h
> index 497b6ac..e815c5f 100644
> --- a/device/ds_routines.h
> +++ b/device/ds_routines.h
> @@ -83,4 +83,9 @@ io_return_t ds_device_writev_trap(
>       io_buf_vec_t    *iovec,
>       vm_size_t       count);
>  
> +#ifdef LINUX_DEV
> +#ifdef CONFIG_INET
> +extern void free_skbuffs(void);
> +#endif /* CONFIG_INET */
> +#endif /* LINUX_DEV */
>  #endif       /* DS_ROUTINES_H */
> -- 
> 1.8.1.4
> 
> 

-- 
Samuel
 Yep. Moi j'ai un clavier à une touche. 
 Par contre, ma souris a 102 boutons, c'est pas toujours pratique.
 -+- OG in: Guide du Cabaliste Usenet - Le mulot contre attaque -+-



reply via email to

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