commit 2183a8a
pita
·
2026-02-22 16:10:45 +0000 UTC
parent 8e64f65
Remove duplicate decleration This removes duplicate declerations of WSMOUSE and WSKBDIO event versions, to avoid compiler errors
1 files changed,
+0,
-6
+0,
-6
1@@ -311,12 +311,6 @@ initialize_wscons(struct seat *seat)
2 kbd_t encoding;
3 unsigned i;
4
5-#ifdef WSMOUSE_EVENT_VERSION
6- int mouse_ver = WSMOUSE_EVENT_VERSION;
7-#endif
8-#ifdef WSKBDIO_EVENT_VERSION
9- int kbd_ver = WSKBDIO_EVENT_VERSION;
10-#endif
11
12 if ((seat->mouse_fd =
13 launch_open_device("/dev/wsmouse", O_RDWR | O_NONBLOCK)) == -1) {