mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 09:59:48 +01:00
util/time: make NSEC_PER_SEC static
This fixes static linking with libseat. Closes #3072
This commit is contained in:
parent
6f19295647
commit
e5063ef3a3
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "util/time.h"
|
||||
|
||||
const long NSEC_PER_SEC = 1000000000;
|
||||
static const long NSEC_PER_SEC = 1000000000;
|
||||
|
||||
int64_t timespec_to_msec(const struct timespec *a) {
|
||||
return (int64_t)a->tv_sec * 1000 + a->tv_nsec / 1000000;
|
||||
|
|
Loading…
Reference in a new issue