xorgcfg: fix compilation error
Add missing parentheses to IS_KBDDRIV macros.
This commit is contained in:
parent
7721ee308f
commit
ab3ebfefdb
|
@ -66,7 +66,7 @@
|
|||
#define DefaultXFree86Dir "/usr"
|
||||
#endif
|
||||
|
||||
#define IS_KBDDRIV(S) ((strcasecmp((S),"kbd") == 0)
|
||||
#define IS_KBDDRIV(S) ((strcasecmp((S),"kbd") == 0))
|
||||
|
||||
/*
|
||||
* Prototypes
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include <X11/Xaw/SimpleMenu.h>
|
||||
#include <X11/Xaw/SmeBSB.h>
|
||||
|
||||
#define IS_KBDDRIV(X) ((strcasecmp((X),"kbd") == 0)
|
||||
#define IS_KBDDRIV(X) ((strcasecmp((X),"kbd") == 0))
|
||||
|
||||
/*
|
||||
* Types
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include "xf86config.h"
|
||||
#include "loader.h"
|
||||
|
||||
#define IS_KBDDRIV(X) ((strcmp((X),"kbd") == 0)
|
||||
#define IS_KBDDRIV(X) ((strcmp((X),"kbd") == 0))
|
||||
|
||||
#ifndef PROJECT_ROOT
|
||||
#define PROJECT_ROOT "/usr"
|
||||
|
|
Loading…
Reference in New Issue
Block a user