Subject: lib/32613: Incoherencies in file sys/lib/libsa/net.h
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 01/24/2006 15:25:02
>Synopsis: Incoherencies in file sys/lib/libsa/net.h
>Arrival-Date: Tue Jan 24 15:25:02 +0000 2006
>Originator: Yves-Emmanuel JUTARD
THALES Communications France
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)
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 ?
Just look at the source.
Edit and fix the source.