From nobody Tue Feb 01 21:26:03 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 595391989147; Tue, 1 Feb 2022 21:26:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JpHzc1f7zz4dWw; Tue, 1 Feb 2022 21:26:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643750764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NpWSx+SNcVcb5Z8EHK5la7/O2OjtJxhgjnQL590vcp4=; b=kJ0KG1Q+LMtXFs1mrDZwaj580F8M53m2vPC2/JmHgUsCYNcGbowUe6fSxtbTtCNYm7jOVC YUEUvlAUNQ/Y+nwMiabBANVm+e0ngEJh6DIlWBMTOJSj5sj1eEWfu0hlUsjc3OHHbWtLTp zDva+pF35hlaIeIR37h6OvSZaZzRTHCUeR23Vp7pDgJLm4LZeCLu2Q5Hfa9Ow5pVYHNamH PztnnM+BrakkNPa5M3mgv8pmXHY58VdQ4Xpt/fgaBmrm+2PJvSHaXBG9DsWymi4Cbog78r ulhc8072dFbTNdH2e45V/wMeVpL+iyM4+ipXgLP8eb5QH46798wvxRI3fsQi6g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0D2A218362; Tue, 1 Feb 2022 21:26:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 211LQ3L9036092; Tue, 1 Feb 2022 21:26:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 211LQ3Co036091; Tue, 1 Feb 2022 21:26:03 GMT (envelope-from git) Date: Tue, 1 Feb 2022 21:26:03 GMT Message-Id: <202202012126.211LQ3Co036091@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 978c7e224719 - main - tests/sys/ses: Use ANSI C definition for has_ses. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 978c7e224719f27f66b5f40a55aeec996758f681 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643750764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NpWSx+SNcVcb5Z8EHK5la7/O2OjtJxhgjnQL590vcp4=; b=Byn/c2PYOrxBIopVVx32KnxeK7iPJKu6CCV3RCsLsqst8IJd57o+8Q/N0FzEgOjgwFEe+0 FI+IAT7LMSB5bPLNk1Tm8DR7ZWLyWY6KXJpLnTa6qfWyq2Rcf+EtgDTofeICtg8lPJNAp/ nproYnSQvrntWFI+uj31jrT3VByrJbVX+phWnLpj3vZrBzLTTbqsXB4jqqGyY/Escc9lr6 +fLO28XhxDa4lYLJ3kpj+u3UPpmP5KdGkNV0r4eF8X4W+BXDxm/wD47vgtI4TaZI+kzOr7 PJZVJpIGXye87IEyZaZt0or5dNAoAOMN+XA8GxB4uKNRCPjB786KnHmg1Y+Rfw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643750764; a=rsa-sha256; cv=none; b=TyP7mMVskO2ToLjbMPtosYy2h1XIdTnuGLn9uDF5OT0A+7m4wEIt4giba5oTK4W7/47tCE l88jVWSdMUjl/ekTNIMee5kfVe9U/V7Ios8EXGEV6tWiglWsvkwHzciCizQ1mQzDrlKXVD SIkoV6kKU+C1nNHu/dEvL9qZqRPk7ylZJBxwDecr/AQ4HI7LuZyVF4Uu5WglWLzvt+AIQV 1fz077B0KaYjm1557JZrScm+uPrsrGATpTj6/wvzXeXu0zAFYpgRzNq+9gyQhGZ91jsIR8 xDTXm6mhp7eWo8DjOxl0mh4RRJY02DxDe9NsdIsF8vw50c2mE6Q1UDXrZQYPpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=978c7e224719f27f66b5f40a55aeec996758f681 commit 978c7e224719f27f66b5f40a55aeec996758f681 Author: John Baldwin AuthorDate: 2022-02-01 20:35:21 +0000 Commit: John Baldwin 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;