lint - "struct/union" warning question
Mark Biggers
biggers at topaz.ARPA
Fri Apr 12 07:49:13 AEST 1985
> I rely on and essentially "program for" lint, in the course
> of my C programming. So, I am quite familiar with *most*
> of its helpful (and not so helpful) messages, EXCEPT:
>
> warning: struct/union ptbl never defined
> (and)
> warning: struct/union proc never defined
>
Here is the most accurate response to my query:
From: packard!ihnp4!aicchi!ignatz
Date: 11 Apr 85 10:35:32 CST (Thu)
Subject: Re: lint - "struct/union" warning question
Mark,
Hmmm...I remember that, on the Vax (Bell-derived, anyway),
there's a system structure known as 'ptbl', for the page table;
and 'proc' is the declaration of the process table. Are you,
by any chance, including some system headers that may reference
these structures?
Dave Ihnat
Analysts International Corporation
(312) 882-4673
ihnp4!aicchi!ignatz
***************************************************************
Yep, I sure am. Most of my source files of my current project
include "sys/types.h", and annoyingly enough, this file
references the "proc" structure. I pride myself on fuzz-free
C code.
Thanks for all the replies (was kinda obvious, I think now...)
mark
More information about the Comp.unix
mailing list