]> git.neil.brown.name Git - git.git/blobdiff - sub-process.h
Git 2.14-rc0
[git.git] / sub-process.h
index 7d451e1cde8d8a5af93695d2fcaf58e76e30ec84..96a2cca360c5660fb8e72c684dc4c25e96ba0546 100644 (file)
@@ -7,7 +7,7 @@
 
 /*
  * Generic implementation of background process infrastructure.
- * See Documentation/technical/api-background-process.txt.
+ * See: Documentation/technical/api-sub-process.txt
  */
 
  /* data structures */
@@ -20,8 +20,10 @@ struct subprocess_entry {
 
 /* subprocess functions */
 
-int cmd2process_cmp(const struct subprocess_entry *e1,
-       const struct subprocess_entry *e2, const void *unused);
+extern int cmd2process_cmp(const void *unused_cmp_data,
+                          const struct subprocess_entry *e1,
+                          const struct subprocess_entry *e2,
+                          const void *unused_keydata);
 
 typedef int(*subprocess_start_fn)(struct subprocess_entry *entry);
 int subprocess_start(struct hashmap *hashmap, struct subprocess_entry *entry, const char *cmd,