aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2021-06-20 19:24:55 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2021-06-23 09:55:36 +0200
commit80315217f76e923cb19cdb76aaf9a5d177f11f61 (patch)
tree59a519c26f1803c168bbf8154e72e1c9a95e2fc1 /include
parentUpdate clang format to better match existing code (diff)
downloadsway-80315217f76e923cb19cdb76aaf9a5d177f11f61.tar.gz
sway-80315217f76e923cb19cdb76aaf9a5d177f11f61.tar.zst
sway-80315217f76e923cb19cdb76aaf9a5d177f11f61.zip
input: Move get_current_time_msec in from util
get_current_time_msec is only used in cursor.c, so we can move it in and make it static. This is primarily intended to avoid a symbol collision with wlroots, which we unfortunately do not have a good solution for yet.
Diffstat (limited to 'include')
-rw-r--r--include/util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/util.h b/include/util.h
index c80da1cb..f887d489 100644
--- a/include/util.h
+++ b/include/util.h
@@ -30,12 +30,6 @@ int parse_movement_amount(int argc, char **argv,
30 struct movement_amount *amount); 30 struct movement_amount *amount);
31 31
32/** 32/**
33 * Get the current time, in milliseconds.
34 */
35
36uint32_t get_current_time_msec(void);
37
38/**
39 * Wrap i into the range [0, max] 33 * Wrap i into the range [0, max]
40 */ 34 */
41int wrap(int i, int max); 35int wrap(int i, int max);