Skip to content

Commit c1b40bd

Browse files
committed
mailinfo: move definition of MAX_HDR_PARSED closer to its use
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 30f50c3 commit c1b40bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/mailinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ static int use_scissors;
2828
static int add_message_id;
2929
static int use_inbody_headers = 1;
3030

31-
#define MAX_HDR_PARSED 10
3231
#define MAX_BOUNDARIES 5
3332

3433
static void cleanup_space(struct strbuf *sb)
@@ -281,6 +280,7 @@ static void cleanup_subject(struct strbuf *subject)
281280
strbuf_trim(subject);
282281
}
283282

283+
#define MAX_HDR_PARSED 10
284284
static const char *header[MAX_HDR_PARSED] = {
285285
"From","Subject","Date",
286286
};

0 commit comments

Comments
 (0)