summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2024-02-20 11:12:38 +1000
committerMarge Bot <emma+marge@anholt.net>2024-02-23 23:11:01 +0000
commiteaa92ea4224e161075db3fef3fc12a5d3c72d020 (patch)
tree69a10f09aea4746da5129098973732a20a5c9b44 /xkb
parentaf9f70013abc4201c473da7485addc898da4d0da (diff)
Revert "include: move BUG_*() macros to separate header"
This breaks the xf86-input-synaptics driver: synaptics.c: In function 'clickpad_guess_clickfingers': synaptics.c:2638:5: error: implicit declaration of function 'BUG_RETURN_VAL' [-Werror=implicit-function-declaration] 2638 | BUG_RETURN_VAL(hw->num_mt_mask > sizeof(close_point) * 8, 0); This reverts commit 442aec2219e0aba5482f96e1047748416237ffaa. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1316>
Diffstat (limited to 'xkb')
-rw-r--r--xkb/xkbInit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xkb/xkbInit.c b/xkb/xkbInit.c
index 189cd7c80..186e0f453 100644
--- a/xkb/xkbInit.c
+++ b/xkb/xkbInit.c
@@ -48,7 +48,6 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "xkbgeom.h"
#include <X11/extensions/XKMformat.h>
#include "xkbfile.h"
-#include "bug.h"
#define CREATE_ATOM(s) MakeAtom(s,sizeof(s)-1,1)