summaryrefslogtreecommitdiff
path: root/var.c
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-07-29 11:01:26 +0200
committerJunio C Hamano <junkio@cox.net>2005-07-29 17:21:50 -0700
commit4d1f11903393bd79998144ce1089ce427a49a2ed (patch)
tree1abd1ae3781d10f15834ab35e12cc7d2252ad9a6 /var.c
parent0b124bb4bf8eafae8a4eae9c1fc44bf63da2e62e (diff)
downloadgit-4d1f11903393bd79998144ce1089ce427a49a2ed.tar.gz
[PATCH] Unify usage strings declaration
All usage strings are now declared as static const char []. This is carried over from my old git-pb branch. Signed-off-by: Petr Baudis <pasky@ucw.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'var.c')
-rw-r--r--var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/var.c b/var.c
index 488ec5147a..3f13126cb8 100644
--- a/var.c
+++ b/var.c
@@ -8,7 +8,7 @@
#include <errno.h>
#include <string.h>
-static char *var_usage = "git-var [-l | <variable>]";
+static const char var_usage[] = "git-var [-l | <variable>]";
struct git_var {
const char *name;