mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
Rename get_current_time_msec to fix wlr conflict
This commit is contained in:
parent
9188a34860
commit
82c10757a3
4 changed files with 6 additions and 6 deletions
|
|
@ -142,7 +142,7 @@ bool sway_set_cloexec(int fd, bool cloexec) {
|
|||
return true;
|
||||
}
|
||||
|
||||
uint32_t get_current_time_msec(void) {
|
||||
uint32_t sway_get_current_time_msec(void) {
|
||||
struct timespec now;
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
return now.tv_sec * 1000 + now.tv_nsec / 1000000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue