From 978c7e224719f27f66b5f40a55aeec996758f681 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 1 Feb 2022 12:35:21 -0800 Subject: [PATCH] tests/sys/ses: Use ANSI C definition for has_ses. This fixes -Wstrict-prototypes and -Wold-style-definition warnings from GCC 9. --- tests/sys/ses/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/ses/common.h b/tests/sys/ses/common.h index 0c6b139a6ab4..b4f4519e236c 100644 --- a/tests/sys/ses/common.h +++ b/tests/sys/ses/common.h @@ -57,7 +57,7 @@ for_each_ses_dev(ses_cb cb, int oflags) } static bool -has_ses() +has_ses(void) { glob_t g; int r;