summaryrefslogtreecommitdiff
path: root/ui-patch.h
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-08-20 16:56:15 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2013-08-20 17:55:54 +0000
commit4e00d338b07245829adf2446a05fe4925b691092 (patch)
tree2f0a96954a7eeae502cc9d697d335866fc22e6d5 /ui-patch.h
parent750f6462c9e1e20e87d2bce5ca2e7fd10e0d1ba6 (diff)
downloadcgit-4e00d338b07245829adf2446a05fe4925b691092.tar
cgit-4e00d338b07245829adf2446a05fe4925b691092.tar.gz
cgit-4e00d338b07245829adf2446a05fe4925b691092.zip
ui-patch: Rename variables
Rename parameters and local variables to match those from ui-diff. Also, convert a "char *" to "const char *". Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'ui-patch.h')
-rw-r--r--ui-patch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-patch.h b/ui-patch.h
index acd37fd..7a6cacd 100644
--- a/ui-patch.h
+++ b/ui-patch.h
@@ -1,6 +1,7 @@
#ifndef UI_PATCH_H
#define UI_PATCH_H
-extern void cgit_print_patch(char *hex, const char *old_rev, const char *prefix);
+extern void cgit_print_patch(const char *new_rev, const char *old_rev,
+ const char *prefix);
#endif /* UI_PATCH_H */