From nobody Wed Mar 22 22:28:35 2023 X-Original-To: dev-commits-src-branches@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 4Phjmg3Fzkz41Nn7; Wed, 22 Mar 2023 22:28:35 +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 4Phjmg2j1Qz3jBV; Wed, 22 Mar 2023 22:28:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679524115; 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=zX8LZTVMThg/QacnSGSRFJtCb78T4Zz1E9f9N+xs4HY=; b=mCZZaf3hB0N3v+OrgCc8FZmYieFxJiaA4Z0sVuheEMODoYSf4fBEMOWskq36Rn9h45MOSQ QsHZ5RbCafGnhYdGsyuEgJ8Joc7dIkRaR/YkB0ZRiyFpSxSmuprO14P57ztYaQh1qcAqnA LyUCtlIceku7x45lM1XzBruT6f15XElWx8MbUL6dA/GL2HeCUmh7WVH3sWGSgV++FKL6Bo KqAsu+t+aLAEF4w7r7ea4u35N2jOiuvAgHMDN9d+qed64D/mg/gnWcdH90679u7KpVr4PH ScfiI6Gj0YEC6TxLrj21IZYzdXo0as3/DFuLhIiOpjhKsiKmY8o5f7kdSW8jlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679524115; 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=zX8LZTVMThg/QacnSGSRFJtCb78T4Zz1E9f9N+xs4HY=; b=PTQosZB72CJgUmvs8ytVs6jAKk3Fmx1Ra0s0QE0OPFzi09HbXBuHOocLib1qlyjjU7CVMq MmqljSwpjDqVrvrpllj10fXW5QTxDZr5I7qNfOddNQum+JAJ3CeGMi5ExPzP15NguMVhAK RbWlNx9jWD0Yd+qSQB3RzbVRAnIQf/JEoyIB6AHrZxSGGWRbbfaDrrCRZawufa341SpAqb urVu1Yj3NCi6mjh5m29U+vs+IVZ3ocg2LHOc1w54fmcOIh48fICfQ3j+Gglq1QBGePvvgR QyvUDFjalB6oNcLP1sKUUVxTnF2ftZufIV5jlG3vAv11L+E34SPyLbSKH12fcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679524115; a=rsa-sha256; cv=none; b=M7GP3hZs4yvtBQohI5+RM2R0AiULvl0LmxZPbI4MxQ4U4J0PntS2E8yUrabdEIbtOpoXIp CbbLhBGFptN6KXSHiSpSkI16zU1jupg/aY18VzvxmGn/Xa7Yq337akcD1IoKWohqqWrNuo eeTr7SSRNGjxFJkh5w92xz/446KBk47QHfi1ooas3UEAKf074JfoQFhLvoagheCwpdpO50 3YBpa5JGuy98POjULmHQfMft+M7ZqbHQdQDAb6L94iJ48RMOQ6fDqlLKXbVrxTh6QQAaXR 1uV6PPk7M2NwcYDhicGSferkaThj2BxVz4XNd1K2+YIaRoMO9qbEdIqTESXpaQ== 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 4Phjmg1npjz19wQ; Wed, 22 Mar 2023 22:28:35 +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 32MMSZuj001758; Wed, 22 Mar 2023 22:28:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32MMSZgu001757; Wed, 22 Mar 2023 22:28:35 GMT (envelope-from git) Date: Wed, 22 Mar 2023 22:28:35 GMT Message-Id: <202303222228.32MMSZgu001757@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 11ab827a1ce4 - stable/12 - top: Remove a duplicate extern declaration for show_args. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/12 X-Git-Reftype: branch X-Git-Commit: 11ab827a1ce4ec10cf16721019d53b94d044afb1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=11ab827a1ce4ec10cf16721019d53b94d044afb1 commit 11ab827a1ce4ec10cf16721019d53b94d044afb1 Author: John Baldwin AuthorDate: 2021-09-15 16:03:17 +0000 Commit: John Baldwin CommitDate: 2023-03-22 18:47:15 +0000 top: Remove a duplicate extern declaration for show_args. This fixes a -Wnested-extern error with GCC 9. There is an existing extern declaration in top.h. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D31937 (cherry picked from commit 4c9cb057bd96bd10278f5ce7a735fff4c08e3c30) --- usr.bin/top/machine.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index d41b3e4f6b74..4f5d5e26ca08 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -879,7 +879,6 @@ get_process_info(struct system_info *si, struct process_select *sel, static int cmd_matches(struct kinfo_proc *proc, const char *term) { - extern int show_args; char **args = NULL; if (!term) {