git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Ramsay Jones
Message 2 of 2 in “builtin/reset.c: Fix a sparse warning”
  1. builtin/reset.c: Fix a sparse warningRamsay Jones, Jan 14, 2013
  2. Martin von ZweigbergkJan 14, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.