Re: [PATCH] builtin/reset.c: Fix a sparse warning

2013-01-14 Thread Martin von Zweigbergk
On Mon, Jan 14, 2013 at 11:28 AM, Ramsay Jones wrote: > > In particular, sparse issues an "symbol not declared. Should it be > static?" warning for the 'parse_args' function. Since this function > does not require greater than file visibility, we suppress this > warning by simply adding the static

[PATCH] builtin/reset.c: Fix a sparse warning

2013-01-14 Thread Ramsay Jones
In particular, sparse issues an "symbol not declared. Should it be static?" warning for the 'parse_args' function. Since this function does not require greater than file visibility, we suppress this warning by simply adding the static modifier to it's decalaration. Signed-off-by: Ramsay Jones --