]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sub-process.c
treewide: remove unnecessary includes of cache.h
[thirdparty/git.git] / sub-process.c
index cae56ae6b8077547a35eda62bb3d250ca6d6510b..1daf5a975254b9b9ea286c5486f4d07f3874bb26 100644 (file)
@@ -1,14 +1,15 @@
 /*
  * Generic implementation of background process infrastructure.
  */
+#include "git-compat-util.h"
 #include "sub-process.h"
 #include "sigchain.h"
 #include "pkt-line.h"
 
-int cmd2process_cmp(const void *unused_cmp_data,
+int cmd2process_cmp(const void *cmp_data UNUSED,
                    const struct hashmap_entry *eptr,
                    const struct hashmap_entry *entry_or_key,
-                   const void *unused_keydata)
+                   const void *keydata UNUSED)
 {
        const struct subprocess_entry *e1, *e2;