aboutsummaryrefslogtreecommitdiff
path: root/examples/text-input.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-02-28 23:15:34 +0100
committeremersion <contact@emersion.fr>2019-03-01 09:20:23 +0100
commit5445d8aad0112dab3ed798c39bf6b22f2a4eebd1 (patch)
treecddeb6dd5665e81d815fe51650fb8bb69b88f3dd /examples/text-input.c
parent4135fafecd5c9a8daafb0caec96089cfa0926c6e (diff)
meson: enable more compiler warnings
Diffstat (limited to 'examples/text-input.c')
-rw-r--r--examples/text-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text-input.c b/examples/text-input.c
index 3ccd99a0..ac3c8a44 100644
--- a/examples/text-input.c
+++ b/examples/text-input.c
@@ -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");