Subject: Re: CVS commit: src/sys/sys
To: David Laight <david@l8s.co.uk>
From: Hubert Feyrer <feyrer@cs.stevens.edu>
List: source-changes
Date: 12/20/2005 09:17:57
On Tue, 20 Dec 2005, David Laight wrote:
> One subtle difference is that you can specify
>    struct fred;
> many times (eg in different heaader files), but that there can only be one
>    typedef struct fred fred_t;
> So using the latter in fuction prototypes may require the inclusion of
> more baggage.

I don't see how this is "baggage", really - two lines further you'll 
probably access the struct anyways, and need the full definition then.
OTOH, pulling in TRT from the start may be less confusing - try compiling 
our header files and see how many errors you get because the baggage is 
hidden...


  - Hubert