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

Re: [PATCH] Fix a bunch of pointer declarations (codestyle)

From
Stephen Boyd <bebarino@gmail.com>
Date
May 1, 2009, 19:20 UTC
Message-ID
<780e0a6b0905011220g42d9784dp186cc7ff7669081e@mail.gmail.com>
In-Reply-To
<1241168796-7222-1-git-send-email-felipe.contreras@gmail.com>

On Fri, May 1, 2009 at 2:06 AM, Felipe Contreras <felipe.contreras@gmail.com> wrote:

>
> -       *argv = xmalloc(sizeof(char*) * size);
> +       *argv = xmalloc(sizeof(char *) * size);
>

I don't think this is what the coding guidelines is talking about. A pointer isn't being declared here plus there isn't any variable the star should be sticking to.

Previous: Felipe ContrerasNext: Jeff King
Message 3 of 6 in “Fix a bunch of pointer declarations (codestyle)”
  1. Fix a bunch of pointer declarations (codestyle)Felipe Contreras, May 1, 2009
  2. Felipe ContrerasMay 1, 2009
  3. Stephen BoydMay 1, 2009
  4. Jeff KingMay 1, 2009
  5. Junio C HamanoMay 1, 2009
  6. Junio C HamanoMay 1, 2009

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.