Fix breakage caused by ether_aton() prototype change.

PR:		bin/20033
This commit is contained in:
Archie Cobbs 2000-07-19 16:30:02 +00:00
parent bb6f2fd443
commit 75da303298
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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>