Subject: lib/2471: ether_* functions lack prototypes
To: None <gnats-bugs@NetBSD.ORG>
From: John Hawkinson <>
List: netbsd-bugs
Date: 05/26/1996 01:41:28
>Number:         2471
>Category:       lib
>Synopsis:       ether_* functions lack prototypes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 26 02:05:07 1996
>Originator:     John Hawkinson
>Release:        1.1
System: NetBSD lola-granola 1.1B NetBSD 1.1B (LOLA) #8: Fri Apr 19 11:03:57 EDT 1996 mycroft@zygorthian-space-raiders:/afs/ i386

	The ether_* functions from ethers(3), specifically ether_ntoa
	lack prototypes. The only include file referenced in ethers(3)
	is <netinet/if_ether.h>, which does not prototype them (nor
	would it be appropriate for it to do so).

	Attempt to compile code that uses ether_ntoa with gcc -Wall. A
	similar problem can be seen with rarpd.


	Abstract a new place for these prototypes. Perhaps <arpa/ether.h>
	to go along with <arpa/inet.h>?