> Hi

Hi Hritik,

> While editing my config.h file, my linter is going crazy because it cannot 
> find the declarations of the identifiers used in config.h. I was wondering 
> the rationale behind putting all the function declarations in the dwm.c file 
> itself. Wouldn't it make more sense to put all of them in a dwm.h file and 
> include it in dwm.c and config.h ?

The config.h file is not a public header, this is just a separate file
for the easing of the user configuration.

All the necessary function declarations are correctly put in the source
file before config.h is included.

Either your linter is broken or you're misusing it, config.h isn't a c
file, it's a header.

Reply via email to