about summary refs log tree commit diff stats
path: root/ui-patch.h
diff options
context:
space:
mode:
authorLukas Fleischer2013-08-20 18:56:15 +0200
committerJason A. Donenfeld2013-08-20 19:55:54 +0200
commit4e00d338b07245829adf2446a05fe4925b691092 (patch)
tree2f0a96954a7eeae502cc9d697d335866fc22e6d5 /ui-patch.h
parentAllow for creating patch series (diff)
downloadcgit-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 @@
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 */