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 442aec2219.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1316>
This commit is contained in:
Peter Hutterer
2024-02-20 11:12:38 +10:00
committed by Marge Bot
parent af9f70013a
commit eaa92ea422
22 changed files with 27 additions and 60 deletions

View File

@@ -32,8 +32,6 @@
* Basic transpose step
*/
#include "bug.h"
static inline void _transp(CARD32 d[], unsigned int i1, unsigned int i2,
unsigned int shift, CARD32 mask)
{