summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-05 02:19:21 +0000
committerbde <bde@FreeBSD.org>1995-03-05 02:19:21 +0000
commit3404bd722eca44f7f190c96cac79a611f46961a9 (patch)
treef5077e5f72e543e08e41322b2bce3979157aca3b /usr.sbin
parent89824ef63fe1b147532ed03282558ffb728115e3 (diff)
downloadFreeBSD-src-3404bd722eca44f7f190c96cac79a611f46961a9.zip
FreeBSD-src-3404bd722eca44f7f190c96cac79a611f46961a9.tar.gz
Don't depend on <stdio.h> bogusly including <sys/types.h>.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rarpd/ether_addr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/rarpd/ether_addr.c b/usr.sbin/rarpd/ether_addr.c
index a2a38b6..bfff4d7 100644
--- a/usr.sbin/rarpd/ether_addr.c
+++ b/usr.sbin/rarpd/ether_addr.c
@@ -10,10 +10,9 @@
*
* Have a party.
*
- * $Id: ether_addr.c,v 1.1.1.1 1995/03/02 06:41:40 wpaul Exp $
+ * $Id: ether_addr.c,v 1.2 1995/03/03 22:20:15 wpaul Exp $
*/
-
#include <stdio.h>
#ifndef _PATH_ETHERS
@@ -108,14 +107,14 @@ return (-1);
}
int ether_print(cp)
- u_char *cp;
+ unsigned char *cp;
{
printf("%x:%x:%x:%x:%x:%x", cp[0], cp[1], cp[2], cp[3], cp[4], cp[5]);
}
int ether_aton(a, n)
char *a;
- u_char *n;
+ unsigned char *n;
{
int i, o[6];
OpenPOWER on IntegriCloud