git: 978c7e224719 - main - tests/sys/ses: Use ANSI C definition for has_ses.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Feb 2022 21:26:03 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=978c7e224719f27f66b5f40a55aeec996758f681
commit 978c7e224719f27f66b5f40a55aeec996758f681
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-02-01 20:35:21 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
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;