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