mailinfo: move definition of MAX_HDR_PARSED closer to its use
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Oct 14, 2015 at 17:44 UTC
c1b40bd7b616792de5f307ecdfd8ac45573bc4f9
1 file changed
+1
-1
builtin/mailinfo.c
+1
-1
@@ -28,7 +28,6 @@ static int use_scissors;
28
static int add_message_id;
29
static int use_inbody_headers = 1;
30
31
-#define MAX_HDR_PARSED 10
31
#define MAX_BOUNDARIES 5
32
33
static void cleanup_space(struct strbuf *sb)
@@ -281,6 +280,7 @@ static void cleanup_subject(struct strbuf *subject)
280
strbuf_trim(subject);
281
}
282
283
+#define MAX_HDR_PARSED 10
284
static const char *header[MAX_HDR_PARSED] = {
285
"From","Subject","Date",
286
};