summaryrefslogtreecommitdiff
path: root/builtin-mailinfo.c
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-21 00:12:12 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-10-21 01:43:27 -0400
commit538dfe7397db62e5c7e8861c272380140969a8b8 (patch)
tree70040b3240ed347f8252b8e59aff44ac82e66642 /builtin-mailinfo.c
parentMerge git://git.kernel.org/pub/scm/gitk/gitk (diff)
downloadtgif-538dfe7397db62e5c7e8861c272380140969a8b8.tar.xz
Improved const correctness for strings
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'builtin-mailinfo.c')
-rw-r--r--builtin-mailinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
index d7cb11dc0d..fb12248f82 100644
--- a/builtin-mailinfo.c
+++ b/builtin-mailinfo.c
@@ -288,7 +288,7 @@ static void cleanup_space(char *buf)
}
static void decode_header(char *it, unsigned itsize);
-static char *header[MAX_HDR_PARSED] = {
+static const char *header[MAX_HDR_PARSED] = {
"From","Subject","Date",
};