X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fpack-objects.c;h=b0503b202afb4356caaca794518fb4e21082a48f;hb=f6aca0dc4d6b7ed9bf2bff399e3fcb47eafdce4b;hp=3cbeb299d172c51b8ab6940a836efdf8a1a8e4ce;hpb=3a1882c1fe42eec8a9c6083e26ffc729340014b2;p=git.git diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index 3cbeb299d..b0503b202 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -16,11 +16,7 @@ #include "list-objects.h" #include "progress.h" #include "refs.h" - -#ifndef NO_PTHREADS -#include #include "thread-utils.h" -#endif static const char pack_usage[] = "git pack-objects [ -q | --progress | --all-progress ]\n" @@ -1543,7 +1539,7 @@ static void try_to_free_from_threads(size_t size) read_unlock(); } -try_to_free_t old_try_to_free_routine; +static try_to_free_t old_try_to_free_routine; /* * The main thread waits on the condition that (at least) one of the workers