From 54738f6ec89db5b8ed78bdf1f30927281fdd473e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 8 Jan 2016 19:56:32 +0100 Subject: [PATCH] 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 --- include/bindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5