Widget #include cleanup
Roland Illig
roland.illig at gmx.de
Mon Jul 11 08:39:59 UTC 2005
Leonard den Ottolander wrote:
> Hi Roland,
>
> On Mon, 2005-07-11 at 09:10, Roland Illig wrote:
>
>>background.c should include every header it uses directly. It uses
>>do_refresh() from dialog.h directly. Therefore it should be in the
>>#include list.
>
>
> Why can't the #include's be chained?
Some day wtools.h might be changed not to #include dialog.h anymore.
Then you have to adjust the source again. So better do it now.
Roland
More information about the mc-devel
mailing list