summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b99e64)
raw | patch | inline | side by side (parent: 9b99e64)
author | Brandon Casey <casey@nrlssc.navy.mil> | |
Thu, 21 Aug 2008 00:34:30 +0000 (19:34 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 21 Aug 2008 02:59:06 +0000 (19:59 -0700) |
The variable show_early_output is defined in revision.c and should be
declared extern in revision.h so that the linker does not complain
about multiply defined variables.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
declared extern in revision.h so that the linker does not complain
about multiply defined variables.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.h | patch | blob | history |
diff --git a/revision.h b/revision.h
index f64e8ce7ff999e9fe4a01205ae51775827484ed4..1b045669ae05519a9f2023e5ccdfa4f75f2c7f29 100644 (file)
--- a/revision.h
+++ b/revision.h
void read_revisions_from_stdin(struct rev_info *revs);
typedef void (*show_early_output_fn_t)(struct rev_info *, struct commit_list *);
-volatile show_early_output_fn_t show_early_output;
+extern volatile show_early_output_fn_t show_early_output;
extern void init_revisions(struct rev_info *revs, const char *prefix);
extern int setup_revisions(int argc, const char **argv, struct rev_info *revs, const char *def);