Subject: port-mac68k/4331: gets wrong value for MSGBUFPTECNT
To: None <>
From: Dave Huang <>
List: netbsd-bugs
Date: 10/24/1997 05:10:23
>Number:         4331
>Category:       port-mac68k
>Synopsis: gets wrong value for MSGBUFPTECNT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 24 03:20:01 1997
>Originator:     Dave Huang
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet:   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD 1.3_ALPHA as of October 23, 1997
NetBSD 1.3_ALPHA mac68k

>Description: wants sizeof(struct msgbuf) for MSGBUFPTECNT, but
struct msgbuf no longer exists. This causes to output a
warning (from gcc), and MSGBUFPTECNT ends up being #defined as 0.
	config a kernel, make assym.h and look for the warning from gcc:
/tmp/7100.c: In function `f56':
/tmp/7100.c:55: sizeof applied to an incomplete type

Then look at assym.h and notice "#define MSGBUFPTECNT 0"
	I'm not sure... actually, I just checked, and it looks like
like MSGBUFPTECNT is never actually used anywhere. Perhaps it should
just be deleted?