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

Re: [PATCH] refs: mark a file-local symbol as static

From
David Turner <dturner@twopensource.com>
Date
Feb 25, 2016, 20:09 UTC
Message-ID
<1456430960.18017.49.camel@twopensource.com>
In-Reply-To
<56CF55ED.9040906@ramsayjones.plus.com>
On Thu, 2016-02-25 at 19:28 +0000, Ramsay Jones wrote:
Show 7 quoted lines
> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
> ---
> 
> Hi David,
> 
> No, you are not having flashbacks - you forgot to make the
> register_ref_storage_backend() function static. ;-)
Oops!  Must have lost that in all of the rebasing!  Will fix, thanks.
Show 15 quoted lines
> BTW, I still have two symbols showing as exported but not used,
> namely:
> 
>     $ diff nsc psc1
>     ...
>     32a35,36
>     > refs.o	- resolve_ref_unsafe_submodule
>     > refs/files-backend.o	- do_for_each_per_worktree_ref
>     $ 
> 
> Both of these symbols are used by the lmdb backend, so I'm assuming
> that
> they are part of the 'refs API' and will (may?) be used by other
> alternate
> reference backends. Is that the case?
Yes.
Previous: Ramsay Jones
Message 2 of 2 in “refs: mark a file-local symbol as static”
  1. refs: mark a file-local symbol as staticRamsay Jones, Feb 25, 2016
  2. David TurnerFeb 25, 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.