Print this page
remove support for non-ANSI compilation

@@ -17,10 +17,12 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
 /*

@@ -139,23 +141,15 @@
 #ifdef  _KERNEL
 extern int localetheraddr(struct ether_addr *, struct ether_addr *);
 extern char *ether_sprintf(struct ether_addr *);
 extern int ether_aton(char *, uchar_t *);
 #else   /* _KERNEL */
-#ifdef  __STDC__
 extern char *ether_ntoa(const struct ether_addr *);
 extern struct ether_addr *ether_aton(const char *);
 extern int ether_ntohost(char *, const struct ether_addr *);
 extern int ether_hostton(const char *, struct ether_addr *);
 extern int ether_line(const char *, struct ether_addr *, char *);
-#else   /* __STDC__ */
-extern char *ether_ntoa();
-extern struct ether_addr *ether_aton();
-extern int ether_ntohost();
-extern int ether_hostton();
-extern int ether_line();
-#endif  /* __STDC__ */
 #endif  /* _KERNEL */
 
 #ifdef  __cplusplus
 }
 #endif