grep: recurse in-process using 'struct repository'
[gitweb.git] / sub-process.c
index 92f8aea70aa0bc7654b89bebc3e72b197953e84a..a3cfab1a9d1feb1fea3fbc9bb9dbe04a89b9c874 100644 (file)
@@ -5,9 +5,10 @@
 #include "sigchain.h"
 #include "pkt-line.h"
 
-int cmd2process_cmp(const struct subprocess_entry *e1,
-                          const struct subprocess_entry *e2,
-                          const void *unused)
+int cmd2process_cmp(const void *unused_cmp_data,
+                   const struct subprocess_entry *e1,
+                   const struct subprocess_entry *e2,
+                   const void *unused_keydata)
 {
        return strcmp(e1->cmd, e2->cmd);
 }