aboutsummaryrefslogtreecommitdiffstats
path: root/ui-patch.h
diff options
context:
space:
mode:
authorGravatar Lukas Fleischer <cgit@cryptocrack.de>2013-08-21 01:56:15 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-08-21 02:55:54 (JST)
commit4e00d338b07245829adf2446a05fe4925b691092 (patch)
tree2f0a96954a7eeae502cc9d697d335866fc22e6d5 /ui-patch.h
parent750f6462c9e1e20e87d2bce5ca2e7fd10e0d1ba6 (diff)
downloadcgit-4e00d338b07245829adf2446a05fe4925b691092.zip
cgit-4e00d338b07245829adf2446a05fe4925b691092.tar.gz
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 @@
1#ifndef UI_PATCH_H 1#ifndef UI_PATCH_H
2#define UI_PATCH_H 2#define UI_PATCH_H
3 3
4extern void cgit_print_patch(char *hex, const char *old_rev, const char *prefix); 4extern void cgit_print_patch(const char *new_rev, const char *old_rev,
5 const char *prefix);
5 6
6#endif /* UI_PATCH_H */ 7#endif /* UI_PATCH_H */