#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.