globals.h [was: config.c,1.57,1.58]

David Relson relson at osagesoftware.com
Tue Nov 26 14:27:24 CET 2002


At 07:58 AM 11/26/02, Matthias Andree wrote:

>On Mon, 25 Nov 2002, relson at users.sourceforge.net wrote:
>
> > Update of /cvsroot/bogofilter/bogofilter
> > In directory sc8-pr-cvs1:/tmp/cvs-serv10446
> >
> > Modified Files:
> >       config.c
> > Log Message:
> > Remove #include of globals.h since common.h has already included it.
>
>Please include all .h files directly if you need their
>declarations, lest you want to get entangled in subtle dependency wars
>later. Think OOP, and make the .c modules capable of standing alone.
>(sort of at least).

I figured this was safe.  Since we include "common.h" in all our source 
modules and since "globals.h" is included by common.h, there is no need to 
include globals.h in any other file.





More information about the bogofilter-dev mailing list