grep: recurse in-process using 'struct repository'
[gitweb.git] / sub-process.h
index d9a45cd359a780d77d2dc01bd8a315d49a6a994f..96a2cca360c5660fb8e72c684dc4c25e96ba0546 100644 (file)
@@ -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,