Subject: lib/2471: ether_* functions lack prototypes
To: None <gnats-bugs@NetBSD.ORG>
From: John Hawkinson <jhawk@mit.edu>
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
>Last-Modified:
>Originator: John Hawkinson
>Organization:
MIT SIPB
>Release: 1.1
>Environment:
System: NetBSD lola-granola 1.1B NetBSD 1.1B (LOLA) #8: Fri Apr 19 11:03:57 EDT 1996 mycroft@zygorthian-space-raiders:/afs/sipb.mit.edu/project/netbsd/dev/current-source/build/i386_nbsd1/sys/arch/i386/compile/LOLA i386
>Description:
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).
>How-To-Repeat:
Attempt to compile code that uses ether_ntoa with gcc -Wall. A
similar problem can be seen with rarpd.
>Fix:
Abstract a new place for these prototypes. Perhaps <arpa/ether.h>
to go along with <arpa/inet.h>?
>Audit-Trail:
>Unformatted: