Rename get_current_time_msec to fix wlr conflict

This commit is contained in:
Tert0 2024-12-11 22:41:34 +01:00
parent 9188a34860
commit 82c10757a3
No known key found for this signature in database
GPG key ID: 5CD17B02E0EFD576
4 changed files with 6 additions and 6 deletions

View file

@ -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;