[Top][All Lists]

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

[GNUnet-developers] header include cleanup

From: Glenn McGrath
Subject: [GNUnet-developers] header include cleanup
Date: Sun, 2 Mar 2003 17:02:56 +1100

I think its good programming practice to avoid including headers from
within other header files if possible.

Including header files inside header can quickly make it hard to track
down exactly where a file is being #included from.

With the attached patch i have removed as many include statments as
possible from the include files and replaced them with equivalent
statments in the .c file.

I think there are probably unneeded include statments in some .c files,
i will work on identifying and fixing them next.

Once that is done i think it would be good to declare _HEADERS in the which would avoid needing's in each
./src/include/ directory.


Attachment: include.headers.diff.bz2
Description: Binary data

Attachment: pgppFfJ2z7Hg4.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]