The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=978c7e224719f27f66b5f40a55aeec996758f681

commit 978c7e224719f27f66b5f40a55aeec996758f681
Author:     John Baldwin <[email protected]>
AuthorDate: 2022-02-01 20:35:21 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2022-02-01 21:25:47 +0000

    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;

Reply via email to