linux/include/asm-i386/processor.h warnings

mabzug1@umbc.edu
Mon, 9 Jun 1997 06:10:50 -0400 (EDT)


There seems to be a problem with the i386 asm/processor.h header file
included with 2.1.42. The following trivial program:

#include <asm/processor.h>
main(){}

produces the following warnings:

In file included from processor.c:1:
/usr/include/asm/processor.h:157: warning: `struct task_struct' declared inside parameter list
/usr/include/asm/processor.h:157: warning: its scope is only this definition or declaration,
/usr/include/asm/processor.h:157: warning: which is probably not what you want.

This is under linux 2.1.42, gcc version 2.7.2.1, with /usr/include/asm
linked like so:

lrwxrwxrwx 1 root root 31 Jun 9 00:55 /usr/include/asm -> /usr/src/linux/include/asm-i386

It's just a warning, but somehow, it didn't seem appropriate. :) TIA.

Mordechai T. Abzug
mabzug1@umbc.edu finger -l mabzug1@umbc7.umbc.edu http://umbc.edu/~mabzug1
>>>>> My employer ain't payin' for my opinions, so they must be *mine*. <<<<<
Naaah, real men don't read docs.