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?