diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-14 17:44:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-21 15:34:49 -0700 |
commit | c1b40bd7b616792de5f307ecdfd8ac45573bc4f9 (patch) | |
tree | e7c908ddc0b3ca164251ce2ee8bd58db12e371b9 /builtin/mailinfo.c | |
parent | 30f50c3426def6062b214d3f9cb0dd09776e4415 (diff) | |
download | git-c1b40bd7b616792de5f307ecdfd8ac45573bc4f9.tar.gz |
mailinfo: move definition of MAX_HDR_PARSED closer to its use
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/mailinfo.c')
-rw-r--r-- | builtin/mailinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mailinfo.c b/builtin/mailinfo.c index 23dcd95211..de7ccd8a28 100644 --- a/builtin/mailinfo.c +++ b/builtin/mailinfo.c @@ -28,7 +28,6 @@ static int use_scissors; static int add_message_id; static int use_inbody_headers = 1; -#define MAX_HDR_PARSED 10 #define MAX_BOUNDARIES 5 static void cleanup_space(struct strbuf *sb) @@ -281,6 +280,7 @@ static void cleanup_subject(struct strbuf *subject) strbuf_trim(subject); } +#define MAX_HDR_PARSED 10 static const char *header[MAX_HDR_PARSED] = { "From","Subject","Date", }; |