]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-patch.c
Makefile: autobuild dependency rules
[ps-cgit] / ui-patch.c
index a77f3f6cccc67ea85029eba247c61f8470303fa5..36bfae4836df393cd1c24c94b58e15702e2bc134 100644 (file)
@@ -8,6 +8,7 @@
 
 #include "cgit.h"
 #include "html.h"
+#include "ui-shared.h"
 
 static void print_line(char *line, int len)
 {
@@ -69,7 +70,7 @@ static void filepair_cb(struct diff_filepair *pair)
                html("Error running diff");
 }
 
-void cgit_print_patch(char *hex, struct cacheitem *item)
+void cgit_print_patch(char *hex)
 {
        struct commit *commit;
        struct commitinfo *info;