Subject: kern/164: resend: compile warnings.
To: None <gnats-admin>
From: Bill Sommerfeld <sommerfeld@orchard.medford.ma.us>
List: netbsd-bugs
Date: 03/09/1994 21:50:01
>Number: 164
>Category: kern
>Synopsis: compile warnings in -current as of 7 march
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 9 21:50:01 1994
>Originator: Bill Sommerfeld
>Organization:
none
>Release: -current as of march 7
>Environment:
<machine, os, target, libraries (multiple lines)>
System: NetBSD orchard.medford.ma.us 0.9a ORCHARD#8 i386
>Description:
Compile warnings seen in -current as of today:
cc -c -O6 -I. -I../../../../arch -I../../../.. -I../../../../sys -DORCHARD -DI486_CPU -DMULTICAST -DPROCFS -DUSER_LDT -DMACHINE_NONCONTIG -DCOMPAT_NOMID -DDDB -DMACHINE_NONCONTIG -DMFS -DSCSI -DKERNFS -DISOFS -DMSDOSFS -DUCONSOLE -DXSERVER -DTCP_COMPAT_42 -DCOMPAT_43 -DINET -DDEVPAGER -DVNODEPAGER -DSWAPPAGER -DKERNEL -Di386 ../../../../kern/tty_conf.c
../../../../kern/tty_conf.c:115: warning: initialization of `linesw[0].l_close' from incompatible pointer type
cc -c -O6 -I. -I../../../../arch -I../../../.. -I../../../../sys -DORCHARD -DI486_CPU -DMULTICAST -DPROCFS -DUSER_LDT -DMACHINE_NONCONTIG -DCOMPAT_NOMID -DDDB -DMACHINE_NONCONTIG -DMFS -DSCSI -DKERNFS -DISOFS -DMSDOSFS -DUCONSOLE -DXSERVER -DTCP_COMPAT_42 -DCOMPAT_43 -DINET -DDEVPAGER -DVNODEPAGER -DSWAPPAGER -DKERNEL -Di386 ../../../../netinet/raw_ip.c
../../../../netinet/raw_ip.c: In function `rip_output':
../../../../netinet/raw_ip.c:127: warning: passing arg 5 of `ip_output' from incompatible pointer type
../../../../netinet/raw_ip.c: In function `rip_ctloutput':
../../../../netinet/raw_ip.c:169: warning: passing arg 2 of `ip_setmoptions' from incompatible pointer type
../../../../netinet/raw_ip.c:204: warning: passing arg 2 of `ip_getmoptions' from incompatible pointer type
../../../../netinet/raw_ip.c: In function `rip_usrreq':
../../../../netinet/raw_ip.c:253: warning: passing arg 1 of `ip_freemoptions' from incompatible pointer type
cc -c -O6 -I. -I../../../../arch -I../../../.. -I../../../../sys -DORCHARD -DI486_CPU -DMULTICAST -DPROCFS -DUSER_LDT -DMACHINE_NONCONTIG -DCOMPAT_NOMID -DDDB -DMACHINE_NONCONTIG -DMFS -DSCSI -DKERNFS -DISOFS -DMSDOSFS -DUCONSOLE -DXSERVER -DTCP_COMPAT_42 -DCOMPAT_43 -DINET -DDEVPAGER -DVNODEPAGER -DSWAPPAGER -DKERNEL -Di386 ../../../../arch/i386/isa/wd.c
../../../../arch/i386/isa/wd.c: In function `wdopen':
../../../../arch/i386/isa/wd.c:811: warning: passing arg 2 of `readdisklabel' from incompatible pointer type
../../../../arch/i386/isa/wd.c: In function `wdioctl':
../../../../arch/i386/isa/wd.c:1163: warning: passing arg 2 of `writedisklabel' from incompatible pointer type
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
I'm not sure whether this got out (I caught it stuck in the mail queue)
so I'm resending this..
------------------------------------------------------------------------------