From: Michael Stapelberg Date: Fri, 8 Jan 2016 18:56:32 +0000 (+0100) Subject: bindings.h: mark DEFAULT_BINDING_MODE as external X-Git-Tag: 4.12~65 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=54738f6ec89db5b8ed78bdf1f30927281fdd473e;p=i3%2Fi3 bindings.h: mark DEFAULT_BINDING_MODE as external This prevents the following linker warning (only when compiling with -fsanitize=address): /usr/bin/ld: Warning: size of symbol `DEFAULT_BINDING_MODE' changed from 8 in src/resize.o to 64 in src/bindings.o --- diff --git a/include/bindings.h b/include/bindings.h index da81de24..9b14e988 100644 --- a/include/bindings.h +++ b/include/bindings.h @@ -15,7 +15,7 @@ extern pid_t command_error_nagbar_pid; * The name of the default mode. * */ -const char *DEFAULT_BINDING_MODE; +extern const char *DEFAULT_BINDING_MODE; /** * Adds a binding from config parameters given as strings and returns a