warning cleanup if !USECONFIG
This commit is contained in:
parent
b2e933e1a9
commit
0457a53478
1
build.sh
1
build.sh
|
@ -31,7 +31,6 @@ check() {
|
|||
|
||||
loadconf() {
|
||||
[ -x "buildconf" ] && source buildconf
|
||||
[ -x "buildconf_script" ] && source buildconf_script
|
||||
|
||||
# mandatory deps
|
||||
[ "$freetype" = "false" ] && printf "Freetype not found. Install it.\n" && exit 1
|
||||
|
|
|
@ -6,6 +6,7 @@ typedef struct {
|
|||
Arg arg;
|
||||
} Key;
|
||||
|
||||
#if USECONFIG
|
||||
typedef struct {
|
||||
char *key;
|
||||
KeySym keysym;
|
||||
|
@ -509,6 +510,7 @@ static KeyList kl[] = {
|
|||
{ "Next", XK_Next },
|
||||
{ "Prior", XK_Prior },
|
||||
};
|
||||
#endif
|
||||
|
||||
static void updatenumlockmask(void);
|
||||
static void keypress(XEvent *e);
|
||||
|
|
|
@ -20,6 +20,7 @@ typedef struct {
|
|||
Arg arg;
|
||||
} Mouse;
|
||||
|
||||
#if USECONFIG
|
||||
typedef struct {
|
||||
char *click;
|
||||
unsigned int button;
|
||||
|
@ -50,6 +51,7 @@ static ClickType ctp[] = {
|
|||
{ "clickcaps", clickcaps },
|
||||
{ "clickmode", clickmode },
|
||||
};
|
||||
#endif
|
||||
|
||||
static Mouse cbuttons[256];
|
||||
static void buttonpress(XEvent *e);
|
||||
|
|
Loading…
Reference in a new issue