include: misc: drop unused sign() macro

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-11-26 12:47:59 +01:00
committed by Enrico Weigelt
parent f2a0a94a1f
commit c696329b93
2 changed files with 1 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ cd $DRV_BUILD_DIR
build_drv_ac xf86-input-elographics $X11L_DRV_GIT/xf86-input-elographics xlibre-xf86-input-elographics-1.4.4.2
build_drv_ac xf86-input-evdev $X11L_DRV_GIT/xf86-input-evdev xlibre-xf86-input-evdev-2.11.0.2
build_drv_ac xf86-input-libinput $X11L_DRV_GIT/xf86-input-libinput xlibre-xf86-input-libinput-1.5.1.0
build_drv_ac xf86-input-mouse $X11L_DRV_GIT/xf86-input-mouse xlibre-xf86-input-mouse-1.9.5.2
build_drv_ac xf86-input-mouse $X11L_DRV_GIT/xf86-input-mouse xlibre-xf86-input-mouse-1.9.5.4
build_drv_ac xf86-input-synaptics $X11L_DRV_GIT/xf86-input-synaptics xlibre-xf86-input-synaptics-1.10.0.2
build_drv_ac xf86-video-amdgpu $X11L_DRV_GIT/xf86-video-amdgpu xlibre-xf86-video-amdgpu-23.0.0.5

View File

@@ -128,8 +128,6 @@ typedef int XRetCode;
/* abs() is a function, not a macro; include the file declaring
* it in case we haven't done that yet.
*/
#include <stdlib.h>
#define sign(x) ((x) < 0 ? -1 : ((x) > 0 ? 1 : 0))
/* this assumes b > 0 */
#define modulus(a, b, d) if (((d) = (a) % (b)) < 0) (d) += (b)