diff options
author | emersion <contact@emersion.fr> | 2019-02-28 23:15:34 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-03-01 09:20:23 +0100 |
commit | 5445d8aad0112dab3ed798c39bf6b22f2a4eebd1 (patch) | |
tree | cddeb6dd5665e81d815fe51650fb8bb69b88f3dd /backend | |
parent | 4135fafecd5c9a8daafb0caec96089cfa0926c6e (diff) |
meson: enable more compiler warnings
Diffstat (limited to 'backend')
-rw-r--r-- | backend/session/logind.c | 2 | ||||
-rw-r--r-- | backend/wayland/wl_seat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/session/logind.c b/backend/session/logind.c index 0bacfbcd..8f4e328d 100644 --- a/backend/session/logind.c +++ b/backend/session/logind.c @@ -440,7 +440,7 @@ static bool add_signal_matches(struct logind_session *session) { int ret; char str[256]; - const char *fmt = "type='signal'," + const char fmt[] = "type='signal'," "sender='org.freedesktop.login1'," "interface='org.freedesktop.login1.%s'," "member='%s'," diff --git a/backend/wayland/wl_seat.c b/backend/wayland/wl_seat.c index 1229a0ac..6c8eb4f3 100644 --- a/backend/wayland/wl_seat.c +++ b/backend/wayland/wl_seat.c @@ -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; |