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

Re: [PATCH] make sha1_sort inline

From
Junio C Hamano <junkio@cox.net>
Date
Aug 18, 2006, 05:43 UTC
Message-ID
<7vsljud2fs.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0608172229070.25827@chino.corp.google.com>
David Rientjes <rientjes@google.com> writes:
> Inlines sha1_sort as discussed in previous thread.

The only use of this function is to got its address taken of, and then the variable that has its address (current_sort) is used by sort_comparator() function, whose address is given to the library routine qsort(3).

Does it still make sense to declare it inline?
Previous: David RientjesNext: David Rientjes
Message 2 of 3 in “make sha1_sort inline”
  1. make sha1_sort inlineDavid Rientjes, Aug 18, 2006
  2. Junio C HamanoAug 18, 2006
  3. David RientjesAug 18, 2006

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.