Marin Ramesa, le Thu 05 Dec 2013 22:03:09 +0100, a écrit :
> Function ether_sprintf() is used even if KERNEL is not defined.
> Avoid implicit declaration in that case by removing the ifdef.
Ditto.
> * device/if_ether.h [KERNEL]: Remove ifdef.
>
> ---
> device/if_ether.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/device/if_ether.h b/device/if_ether.h
> index e368fbf..1838df3 100644
> --- a/device/if_ether.h
> +++ b/device/if_ether.h
> @@ -45,8 +45,6 @@ struct ether_header {
> u_short ether_type;
> };
>
> -#ifdef KERNEL
> extern char * ether_sprintf(u_char *);
> -#endif /* KERNEL */
>
> #endif /*_DEVICE_IF_ETHER_H_*/
> --
> 1.8.1.4
>
>
--
Samuel
I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public License.