mailinfo: move definition of MAX_HDR_PARSED closer to its use
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@ -28,7 +28,6 @@ static int use_scissors;
|
|||||||
static int add_message_id;
|
static int add_message_id;
|
||||||
static int use_inbody_headers = 1;
|
static int use_inbody_headers = 1;
|
||||||
|
|
||||||
#define MAX_HDR_PARSED 10
|
|
||||||
#define MAX_BOUNDARIES 5
|
#define MAX_BOUNDARIES 5
|
||||||
|
|
||||||
static void cleanup_space(struct strbuf *sb)
|
static void cleanup_space(struct strbuf *sb)
|
||||||
@ -281,6 +280,7 @@ static void cleanup_subject(struct strbuf *subject)
|
|||||||
strbuf_trim(subject);
|
strbuf_trim(subject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define MAX_HDR_PARSED 10
|
||||||
static const char *header[MAX_HDR_PARSED] = {
|
static const char *header[MAX_HDR_PARSED] = {
|
||||||
"From","Subject","Date",
|
"From","Subject","Date",
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user