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
This commit is contained in:
Michael Stapelberg 2016-01-08 19:56:32 +01:00
parent 891bd6e3e5
commit 54738f6ec8
1 changed files with 1 additions and 1 deletions

View File

@ -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