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 -+-