Subject: kern/69: minor warning in slcompress.c
To: None <gnats-admin>
From: None <sommerfeld@orchard.medford.ma.us>
List: netbsd-bugs
Date: 01/12/1994 19:20:04
>Number:         69
>Category:       kern
>Synopsis:       minor warning in slcompress.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 12 19:20:03 1994
>Originator:     Bill Sommerfeld
>Organization:
	none
>Release:        -current
>Environment:
    	
System: NetBSD orchard.medford.ma.us 0.9a ORCHARD#17 i386


>Description:

warning:

cc  -c -O  -I. -I../../../../arch -I../../../.. -I../../../../sys -DORCHARD -DI486_CPU -DCOM_MULTI -DUSER_LDT -DDONT_BLANK -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  ../../../../net/slcompress.c
In file included from ../../../../net/slcompress.c:54:
../../../../netinet/in.h:191: warning: `struct socket' declared inside parameter list
../../../../netinet/in.h:191: warning: its scope is only this definition or declaration,
../../../../netinet/in.h:191: warning: which is probably not what you want.

>How-To-Repeat:
	build slcompress.o 
>Fix:
	include <sys/socketvar.h> in either in.h or slcompress.c
>Audit-Trail:
>Unformatted:

------------------------------------------------------------------------------