Inlines sha1_sort as discussed in previous thread. Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx> --- builtin-pack-objects.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c index f19f0d6..b7ba558 100644 --- a/builtin-pack-objects.c +++ b/builtin-pack-objects.c @@ -929,7 +929,8 @@ static struct object_entry **create_sort return list; } -static int sha1_sort(const struct object_entry *a, const struct object_entry *b) +static inline int sha1_sort(const struct object_entry *a, + const struct object_entry *b) { return hashcmp(a->sha1, b->sha1); } -- 1.4.2.rc4.gd070-dirty - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html