mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-14 08:56:26 -05:00
meson: enable more compiler warnings
This commit is contained in:
parent
4135fafecd
commit
5445d8aad0
7 changed files with 34 additions and 21 deletions
|
|
@ -194,7 +194,7 @@ static void keyboard_handle_keymap(void *data, struct wl_keyboard *wl_keyboard,
|
|||
// TODO: set keymap
|
||||
}
|
||||
|
||||
static uint32_t get_current_time_msec() {
|
||||
static uint32_t get_current_time_msec(void) {
|
||||
struct timespec now;
|
||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
return now.tv_nsec / 1000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue