From nobody Thu Apr 20 18:01:15 2023 X-Original-To: dev-commits-src-all@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 4Q2QSr19jfz46NsJ; Thu, 20 Apr 2023 18:01:16 +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 4Q2QSq65Pjz4GTf; Thu, 20 Apr 2023 18:01:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682013675; 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=kPKpdxkstiFLIt+2n4RPc/yjp8WyFDZxLbFU5PbMMPo=; b=Wj7b1m/t1ZfkXdI+scgbCAkEojKqf10y/ldkI3wctnPYILb0ERt8McQtru5xzFl8Gt9v4a /ZuBykothR+S0iTtnvuWWfOuDKnygRV0FumuU7MzX9/TbqSLsYi3RY8V9KX0PISJhzDjDU HJJsbRGCJY33WAGV/oyNYdMDls1jisb9+O/3iD3JBpm5s/G0QF0hqbsQTgh/Zst2frZAFS A7Op+CwZpAZGjJK9ZNA7PSnunC+D5oRXxzDchpuGSXjWYFbEt/m1iLKV1oP5wuZ4dC+vsY El9WZlHCRgyx4jrYc4Ez1XrTkXPkFxqS3vCx0ITZLi0738ZFrQDeRTu2blOcgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682013675; 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=kPKpdxkstiFLIt+2n4RPc/yjp8WyFDZxLbFU5PbMMPo=; b=XCvHP/kIGv3NEAXpTMcpKC2AEqVjquDXNGD+yKlza3YkzD9YYerLG9s38u+tegdaYoQT9j /3sXoiqH4wEEBVcOjaVxDgNMBI5vz29uMyp6aEwzBYCtRZAiX0gs+ejfVpJjNT4Lw9ckyL W48ll01Oc3PZpjVjC8j6/RQfcbaAU6hnvu01ceFmYxafgjeM4Ln+GSG/eqSt/7tCq9BKjv DfxHoZh/EOMLzVoWJmZ8pFIb3wtmQPLG5UTi0V85740PP+/y65uKDS7YpbRkTrUBdLJH77 G1Dm/a6cp/niftxIXXGj/jU8Cnd7oiNRt+M6FWuOqqHVMMM0i6coYEiZUkJWPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682013675; a=rsa-sha256; cv=none; b=Ds+14M8z+oE5/0ebYAmUu/78wXNfb3dMwp68fi7BGg2OaUceE+MvIAANTmFzPkQxZq6ZJD R8MKy8YX/Ek4WJPCd4MIFbz3seX21irjRqyzYXMl++m02RQtpyECDoCCTetFU5784u29pI DgZNxYZG16hx0A/II2HMGOa0X2jycSm/EcM/eSd/f+kF9tCY+m+RdSZ/8JqnaeXjiT73AC Qiuvvy/svK9zgaqjfDFh0BO8waYD2YBq1BR/iNyH7MwLJOdAQTmSmIO6JKTquCNbu1CeQD yVOPVPQ3FZ+SYJOX7hEtXS8pSLCxMQfPQJFjrD9T9sWL2IyFdnmas711U6Aocw== 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 4Q2QSq5BxfznZG; Thu, 20 Apr 2023 18:01:15 +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 33KI1F42023370; Thu, 20 Apr 2023 18:01:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33KI1FAp023369; Thu, 20 Apr 2023 18:01:15 GMT (envelope-from git) Date: Thu, 20 Apr 2023 18:01:15 GMT Message-Id: <202304201801.33KI1FAp023369@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: bf043855213c - main - arm: Use C89 function declaration for db_read_bytes. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: bf043855213c17262c70b698c4402a425a069057 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=bf043855213c17262c70b698c4402a425a069057 commit bf043855213c17262c70b698c4402a425a069057 Author: John Baldwin AuthorDate: 2023-04-20 18:00:46 +0000 Commit: John Baldwin CommitDate: 2023-04-20 18:00:46 +0000 arm: Use C89 function declaration for db_read_bytes. --- sys/arm/arm/db_interface.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/arm/arm/db_interface.c b/sys/arm/arm/db_interface.c index 73d0cc478617..c202a5ab0016 100644 --- a/sys/arm/arm/db_interface.c +++ b/sys/arm/arm/db_interface.c @@ -180,10 +180,7 @@ db_validate_address(vm_offset_t addr) * Read bytes from kernel address space for debugger. */ int -db_read_bytes(addr, size, data) - vm_offset_t addr; - size_t size; - char *data; +db_read_bytes(vm_offset_t addr, size_t size, char *data) { char *src = (char *)addr;