From 0209b2c932994e9ca55d39d98a83ea02aacd1332 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 18 Mar 2023 23:18:11 -0400 Subject: Modernize code by removing use of old style definitions. Also add -Werror=old-style-definition to enforce new code. Message-Id: --- isofs/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'isofs/main.c') diff --git a/isofs/main.c b/isofs/main.c index d16e7286..76e9766e 100644 --- a/isofs/main.c +++ b/isofs/main.c @@ -46,7 +46,7 @@ struct sblock *sblock; /* Fetch the root node */ static void -fetch_root () +fetch_root (void) { struct lookup_context ctx; ino_t id; @@ -73,7 +73,7 @@ fetch_root () /* Find and read the superblock. */ static void -read_sblock () +read_sblock (void) { struct voldesc *vd; struct sblock * volatile sb = 0; @@ -153,7 +153,7 @@ main (int argc, char **argv) /* Nothing to do for read-only medium */ error_t -diskfs_reload_global_state () +diskfs_reload_global_state (void) { return 0; } -- cgit v1.2.3