Re: [PATCH] builtin/reset.c: Fix a sparse warning
- From
Martin von Zweigbergk <martinvonz@gmail.com>
- Date
- Jan 14, 2013, 19:35 UTC
- Message-ID
- <CANiSa6iaZQnoX4bGGLi1UFDr3EUeNgMf2FKvryWd9+yySJXKUA@mail.gmail.com>
- In-Reply-To
- <50F45C7B.9030608@ramsay1.demon.co.uk>
On Mon, Jan 14, 2013 at 11:28 AM, Ramsay Jones <ramsay@ramsay1.demon.co.uk> wrote:
Show 5 quoted lines
> > 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.
Oops, how did I miss that? Will fix in re-roll. Thanks.
Martin