Don't depend on <stdio.h> bogusly including <sys/types.h>.
This commit is contained in:
parent
7b936a1e66
commit
84428d8465
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6898
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user