mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
meson: enable more compiler warnings
This commit is contained in:
parent
4135fafecd
commit
5445d8aad0
7 changed files with 34 additions and 21 deletions
|
|
@ -176,7 +176,7 @@ static void timer_arm(unsigned seconds) {
|
|||
}
|
||||
}
|
||||
|
||||
static void do_updates() {
|
||||
static void do_updates(void) {
|
||||
printf("Update %d\n", update_stage);
|
||||
switch (update_stage) {
|
||||
case 0:
|
||||
|
|
@ -240,7 +240,7 @@ static void do_updates() {
|
|||
};
|
||||
}
|
||||
|
||||
static void handle_timer() {
|
||||
static void handle_timer(void) {
|
||||
printf("Timer dispatched at %d\n", update_stage);
|
||||
do_updates();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ static size_t utf8_offset(char *utf8_str, size_t byte_offset) {
|
|||
}
|
||||
|
||||
// TODO: would be nicer to have this text display inside the window
|
||||
static void show_status() {
|
||||
static void show_status(void) {
|
||||
printf("State %d:", serial);
|
||||
if (!enabled) {
|
||||
printf(" disabled");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue