]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/pack-objects.c
commit,status: describe --porcelain just like push
[thirdparty/git.git] / builtin / pack-objects.c
index 3cbeb299d172c51b8ab6940a836efdf8a1a8e4ce..b0503b202afb4356caaca794518fb4e21082a48f 100644 (file)
 #include "list-objects.h"
 #include "progress.h"
 #include "refs.h"
-
-#ifndef NO_PTHREADS
-#include <pthread.h>
 #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