NetBSD Problem Report #69

From gnats  Wed Jan 12 19:19:20 1994
Received: from bloom-beacon.mit.edu (BLOOM-BEACON.MIT.EDU [18.70.0.232]) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) with SMTP id TAA01010 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 12 Jan 1994 19:13:55 -0800
Message-Id: <199401130256.VAA01551@orchard.medford.ma.us>
Date: Wed, 12 Jan 1994 21:56:21 -0500
From: sommerfeld@orchard.medford.ma.us
Reply-To: sommerfeld@orchard.medford.ma.us
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: minor warning in slcompress.c
X-Send-Pr-Version: 3.01.6

>Number:         69
>Category:       kern
>Synopsis:       minor warning in slcompress.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 12 19:20:03 +0000 1994
>Closed-Date:    Thu Jan 20 22:29:13 +0000 1994
>Last-Modified:  
>Originator:     Bill Sommerfeld
>Release:        -current
>Organization:
	none
>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
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: glass
State-Changed-When: Thu Jan 20 22:29:13 1994
State-Changed-Why:
fixed it.  Thanks for the bug report.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.