aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Arkadiusz Hiler <arek@hiler.eu>2018-09-30 13:58:49 +0300
committerLibravatar Arkadiusz Hiler <arek@hiler.eu>2018-09-30 14:09:05 +0300
commit1e70f7b19e92c20a691f2697b2c92ea8b13daba3 (patch)
tree112f684404755d6924d7338507eaef07500ced1f /sway/input/cursor.c
parentRemove declarations that do no have definitions (diff)
downloadsway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.tar.gz
sway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.tar.zst
sway-1e70f7b19e92c20a691f2697b2c92ea8b13daba3.zip
Turn funcs() into funcs(void)
If they really do not take undefined number of arguments.
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 2d5d351f..3ddc27a0 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -30,7 +30,7 @@
30// when dragging to the edge of a layout container. 30// when dragging to the edge of a layout container.
31#define DROP_LAYOUT_BORDER 30 31#define DROP_LAYOUT_BORDER 30
32 32
33static uint32_t get_current_time_msec() { 33static uint32_t get_current_time_msec(void) {
34 struct timespec now; 34 struct timespec now;
35 clock_gettime(CLOCK_MONOTONIC, &now); 35 clock_gettime(CLOCK_MONOTONIC, &now);
36 return now.tv_nsec / 1000; 36 return now.tv_nsec / 1000;