Date: Tue, 1 Feb 2022 21:26:03 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 978c7e224719 - main - tests/sys/ses: Use ANSI C definition for has_ses. Message-ID: <202202012126.211LQ3Co036091@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202012126.211LQ3Co036091>