bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 15/66] device/if_ether.h: remove ifdef


From: Samuel Thibault
Subject: Re: [PATCH 15/66] device/if_ether.h: remove ifdef
Date: Sun, 8 Dec 2013 23:51:46 +0900
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

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.



reply via email to

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