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

Re: [PATCH] xdiff: remove unneeded declarations

From
Stefan Beller <sbeller@google.com>
Date
Sep 6, 2016, 17:57 UTC
Message-ID
<CAGZ79kZt5M60xC6w1_12U1M168uJ3MGE2-ikoDx96kzYpfHVug@mail.gmail.com>
In-Reply-To
<20160903031648.14465-1-sbeller@google.com>
On Fri, Sep 2, 2016 at 8:16 PM, Stefan Beller <sbeller@google.com> wrote:
> Signed-off-by: Stefan Beller <sbeller@google.com>
> ---
>  xdiff/xemit.c | 9 ---------
>  1 file changed, 9 deletions(-)

Despite the moved coloring patch moving into a different direction, I think this is still an improvement to the code.

Thanks, Stefan

Show 24 quoted lines
>
> diff --git a/xdiff/xemit.c b/xdiff/xemit.c
> index 49aa16f..b52b4b9 100644
> --- a/xdiff/xemit.c
> +++ b/xdiff/xemit.c
> @@ -22,15 +22,6 @@
>
>  #include "xinclude.h"
>
> -
> -
> -
> -static long xdl_get_rec(xdfile_t *xdf, long ri, char const **rec);
> -static int xdl_emit_record(xdfile_t *xdf, long ri, char const *pre, xdemitcb_t *ecb);
> -
> -
> -
> -
>  static long xdl_get_rec(xdfile_t *xdf, long ri, char const **rec) {
>
>         *rec = xdf->recs[ri]->ptr;
> --
> 2.10.0.rc2.22.g25cb54d.dirty
>
Previous: Stefan BellerNext: Junio C Hamano
Message 2 of 3 in “xdiff: remove unneeded declarations”
  1. xdiff: remove unneeded declarationsStefan Beller, Sep 3, 2016
  2. Stefan BellerSep 6, 2016
  3. Junio C HamanoSep 7, 2016

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.