aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-06-20 19:24:55 +0200
committerSimon Ser <contact@emersion.fr>2021-06-24 18:21:29 +0200
commit04f75e6acc0aa12947be6f6d56ed593bedd4395a (patch)
treeee1bc34aecdfc89cbbeedf1ade6186579dc224ab /include/util.h
parentae55861548e6d5ec049a47d06645bd647a5e1d9b (diff)
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. (cherry picked from commit 80315217f76e923cb19cdb76aaf9a5d177f11f61)
Diffstat (limited to 'include/util.h')
-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,
struct movement_amount *amount);
/**
- * Get the current time, in milliseconds.
- */
-
-uint32_t get_current_time_msec(void);
-
-/**
* Wrap i into the range [0, max]
*/
int wrap(int i, int max);