Fix breakage caused by ether_aton() prototype change.
PR: bin/20033
This commit is contained in:
parent
bb6f2fd443
commit
75da303298
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63537
@ -7,6 +7,7 @@
|
||||
* to the original author and the contributors.
|
||||
*
|
||||
* $Id: iplang_y.y,v 2.2 1999/12/04 03:37:04 darrenr Exp $
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@ -48,7 +49,7 @@
|
||||
#include "ipf.h"
|
||||
#include "iplang.h"
|
||||
|
||||
#ifndef __NetBSD__
|
||||
#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||
extern struct ether_addr *ether_aton __P((char *));
|
||||
#endif
|
||||
|
||||
|
@ -66,10 +66,10 @@ static const char rcsid[] =
|
||||
#include <sys/time.h>
|
||||
#include <machine/if_wl_wavelan.h>
|
||||
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/if_ether.h>
|
||||
extern struct ether_addr *ether_aton(char *a);
|
||||
|
||||
#include <err.h>
|
||||
#include <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user