bug-hurd
[Top][All Lists]
Advanced

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

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


From: Marin Ramesa
Subject: [PATCH 15/66] device/if_ether.h: remove ifdef
Date: Thu, 5 Dec 2013 22:03:09 +0100

Function ether_sprintf() is used even if KERNEL is not defined.
Avoid implicit declaration in that case by removing the ifdef.

* 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




reply via email to

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