[splint-discuss] how to satisfy splint on the " global variable" declaration.
raeburn at raeburn.org
Fri Sep 7 10:21:13 PDT 2007
On Sep 7, 2007, at 12:33, juan abba wrote:
> I declare a global on the MAIN file, out of any block.
> on another " C" file, were same variable will be used, I declare it
> using the " external" keyword before the declaration, but splint don't
> like it, as follows
Try declaring it in a header file that you include from both source
files. Declare it there, and nowhere else.
More information about the splint-discuss