diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-13 07:39:59 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-07-19 09:48:38 +1000 |
commit | ea02e2b95a5924b976976d0e91cb43bfbe97f20c (patch) | |
tree | d8dc50510ac4f809fc8853604fc5a1512c76de8f | |
parent | 5e93fa2b0411364b2ac165651a2e124789923804 (diff) |
evdev_device_suspend() is a void function
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
-rw-r--r-- | src/evdev.c | 4 | ||||
-rw-r--r-- | src/evdev.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/evdev.c b/src/evdev.c index 1a0759b..3a7eda1 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -2865,7 +2865,7 @@ evdev_notify_resumed_device(struct evdev_device *device) device->suspended = 0; } -int +void evdev_device_suspend(struct evdev_device *device) { struct libinput *libinput = evdev_libinput_context(device); @@ -2890,8 +2890,6 @@ evdev_device_suspend(struct evdev_device *device) close_restricted(libinput, device->fd); device->fd = -1; } - - return 0; } int diff --git a/src/evdev.h b/src/evdev.h index f9c0dd1..f1133ee 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -415,7 +415,7 @@ double evdev_device_transform_y(struct evdev_device *device, double y, uint32_t height); -int +void evdev_device_suspend(struct evdev_device *device); int |