wt-status.h: declare global variables as extern
There are linkers out there that complain if a global non-static variable is defined multiple times. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e1645901ed
commit
32efcd91c6
@ -28,8 +28,8 @@ struct wt_status {
|
||||
};
|
||||
|
||||
int git_status_config(const char *var, const char *value);
|
||||
int wt_status_use_color;
|
||||
int wt_status_relative_paths;
|
||||
extern int wt_status_use_color;
|
||||
extern int wt_status_relative_paths;
|
||||
void wt_status_prepare(struct wt_status *s);
|
||||
void wt_status_print(struct wt_status *s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user