mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-06 23:30:14 +01:00
tools: change pointer to void
This makes it clear that it's not meant to be dereferenced. CC: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
31a168abcd
commit
9f11610eff
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ static void
|
|||
print_event_header(struct libinput_event *ev)
|
||||
{
|
||||
/* use for pointer value only, do not dereference */
|
||||
static struct libinput_device *last_device = NULL;
|
||||
static void *last_device = NULL;
|
||||
struct libinput_device *dev = libinput_event_get_device(ev);
|
||||
const char *type = NULL;
|
||||
char prefix;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue