X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/be6991c1e42d548848bf2f51fd9910d14b5bdf40..513b3863d999f91b47d7e9f26710390db55f9463:/ui-diff.h diff --git a/ui-diff.h b/ui-diff.h index 0161ffb..382e8c5 100644 --- a/ui-diff.h +++ b/ui-diff.h @@ -1,13 +1,10 @@ #ifndef UI_DIFF_H #define UI_DIFF_H -extern void cgit_print_diff_ctrls(); - -extern void cgit_print_diffstat(const unsigned char *old_sha1, - const unsigned char *new_sha1); +extern void cgit_print_diff_ctrls(void); extern void cgit_print_diff(const char *new_hex, const char *old_hex, - const char *prefix, int show_ctrls); + const char *prefix, int show_ctrls, int raw); extern struct diff_filespec *cgit_get_current_old_file(void); extern struct diff_filespec *cgit_get_current_new_file(void);