Subject: port-mac68k/4331: genassym.cf gets wrong value for MSGBUFPTECNT
To: None <firstname.lastname@example.org>
From: Dave Huang <email@example.com>
Date: 10/24/1997 05:10:23
>Synopsis: genassym.cf gets wrong value for MSGBUFPTECNT
>Responsible: gnats-admin (GNATS administrator)
>Arrival-Date: Fri Oct 24 03:20:01 1997
>Originator: Dave Huang
Name: Dave Huang | Mammal, mammal / their names are called /
INet: firstname.lastname@example.org | 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
genassym.cf wants sizeof(struct msgbuf) for MSGBUFPTECNT, but
struct msgbuf no longer exists. This causes genassym.sh 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?