From: Johannes Sixt Date: Fri, 9 May 2008 08:05:27 +0000 (+0200) Subject: wt-status.h: declare global variables as extern X-Git-Tag: v1.5.5.2^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32efcd91c6505ae28f87c0e9a3e2b3c0115017d8;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/wt-status.h b/wt-status.h index 02afaa60e..7d61410b1 100644 --- a/wt-status.h +++ b/wt-status.h @@ -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);