Subject: lib/32613: Incoherencies in file sys/lib/libsa/net.h
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yves-emmanuel.jutard@fr.thalesgroup.com>
List: netbsd-bugs
Date: 01/24/2006 15:25:02
>Number: 32613
>Category: lib
>Synopsis: Incoherencies in file sys/lib/libsa/net.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 24 15:25:02 +0000 2006
>Originator: Yves-Emmanuel JUTARD
>Release: 3.0.0
>Organization:
THALES Communications France
>Environment:
custom environment : recompiled from /src, only some parts of NetBSD are used (TCP/IP stack and some parts of the kernel on a PPC custom board)
>Description:
In file sys/lib/libsa/net.h (v1.15),
- the function 'ether_sprintf' is declared with a different prototype from its definition in file 'sys/net/if_ethersubr.c'. One should add the 'const' keyword.
- the function 'in_cksum' is declared with a different prototype from its definition in file 'sys/netinet/in_cksum.c'. 'void*' should be turned to 'struct mbuf *'.
My compiler yell about that. GCC don't see anything ?
>How-To-Repeat:
Just look at the source.
>Fix:
Edit and fix the source.