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

Re: [PATCH 05/14] Change regerror() declaration from K&R style to ANSI C (C89)

From
Marius Storm-Olsen <mstormo@gmail.com>
Date
Aug 21, 2009, 14:54 UTC
Message-ID
<MkR5snRY4WKN.p6tnmVsm@smtp.gmail.com>
From: Frank Li <lznuaa@gmail.com>
Show 11 quoted lines
>  size_t
> -regerror (errcode, preg, errbuf, errbuf_size)
> -    int errcode;
> -    const regex_t *preg;
> -    char *errbuf;
> -    size_t errbuf_size;
> +regerror(int errcode, const regex_t *preg,
> +        char *errbuf, size_t errbuf_size)
>  {
>
> The true reason is MSVC type define errcode as int.
Ok, will reword it.. Thanks.

-- .marius @ phone

Message 1 of 1 in “Re: [PATCH 05/14] Change regerror() declaration from K&R style to ANSI C (C89)”
  1. Marius Storm-OlsenAug 21, 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.