From: Eric Sandeen <sandeen@xxxxxxxxxx> Fixes sparse warnings about this. Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx> --- db/io.h | 2 +- io/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/io.h b/db/io.h index a60aaaa..8d5720b 100644 --- a/db/io.h +++ b/db/io.h @@ -59,7 +59,7 @@ extern void xfs_verify_recalc_crc(struct xfs_buf *bp); * returns -1 for unchecked, 0 for bad and 1 for good */ static inline int -iocur_crc_valid() +iocur_crc_valid(void) { if (!iocur_top->bp) return -1; diff --git a/io/init.c b/io/init.c index e9449a2..29afe09 100644 --- a/io/init.c +++ b/io/init.c @@ -244,7 +244,7 @@ idle_loop(void *arg) } void -start_idle_thread() +start_idle_thread(void) { pthread_t t; -- 1.8.3.1