Subject: trapframe not declared correctly??
To: None <current-users@netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: current-users
Date: 11/20/1999 23:14:17
Platform i386:
I'm getting lots of this building a kernel from a very recent current:
cc -O2 -Wno-error -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -I../../../../../gnu/sys -DLKM -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -Di386 -c ../../../../dev/ic/ncr53c9x.c
In file included from machine/param.h:49,
from ../../../../sys/param.h:143,
from ../../../../dev/ic/ncr53c9x.c:80:
machine/cpu.h:164: warning: `struct trapframe' declared inside parameter list
machine/cpu.h:164: warning: its scope is only this definition or declaration,
machine/cpu.h:164: warning: which is probably not what you want.
How do I clear this up?
TIA,
Paul