Port-bebox archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

compiler warning in boot.c



I get a compiler warning in /sys/arch/bebox/stand/boot.c

It doesn't like the reference to struct proc * on line 996.  It warns
(paraphrased) that "struct proc declaration is only valid within the
enclosing struct definition, which is probably not what you want."
Since warning are errors, the compilation stops.

I was able to get around it by putting

struct proc;

at the beginning of the file, but there's probably a better remedy.

-- 
Mirian Crzig Lennox                                Systems Anarchist
          "There's a New World Order coming every minute.
                      Make mine extra cheese."



Home | Main Index | Thread Index | Old Index