From nobody Tue May 10 23:23:56 2022 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 9014F1AD7570; Tue, 10 May 2022 23:23:57 +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 4KyYyP0XJnz4c2F; Tue, 10 May 2022 23:23:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652225037; 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=FAMlIqnz9Menfei9/14LDJ57+vgPPV05pQJIFVY2N1k=; b=BnopmW4TLRJly8GNB4XAgKB3ZZAbe3CC6mwwoJGbvnFl1aJ2C+6BOUpHKVabecqkli+PRN iAVCCPXuB0Ec1OGRB1Sfq/3IdSRY6tQLq/i/DrR0yII/fVX4K0w/NnmKXNdQJ9dq7KRcFa 10CyGLpGqhFJjn9VaTtPDDYT67W+0VxYiKnEW5TEs693mvKW2YIk1Yna9sgbjR503gQSWx 5RbKt7113KAe/fpsqP3qJv/9404InZfGLQy/6PSM0FRLkY4onTrZgbli0ahbuvwAIROaC8 LwxFvo125Hj9FK7bT3C8epKcTGKWt4pQOEkOKbKdBgZsC44sGdhfm2/v/TZibQ== 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 BEBE86C3C; Tue, 10 May 2022 23:23:56 +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 24ANNut6072163; Tue, 10 May 2022 23:23:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24ANNuDs072162; Tue, 10 May 2022 23:23:56 GMT (envelope-from git) Date: Tue, 10 May 2022 23:23:56 GMT Message-Id: <202205102323.24ANNuDs072162@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: 10e4ad0b1b49 - stable/13 - top: Remove a duplicate extern declaration for show_args. 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 10e4ad0b1b49b770b6d9873bf34fd2cc93c6c454 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652225037; 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=FAMlIqnz9Menfei9/14LDJ57+vgPPV05pQJIFVY2N1k=; b=ZJVOn2PaplJSTQA82mz5psh9h+2cFtwA5TjYe0W5bjR01m6ZQ8Gaa6psP+umL0l54gGWeR lqR+6jiIqE10iZGwQxse5vxjgyhXzZoe2McoUCIUYTGzUmhZ/KHwCGi4DYEKzaHbD8rN16 VSWiYGxTJX4jjtMKeeB8yEjsrXQrmohdEyJHFrshp5/4bR3Xkwd30RxDLVC4i1vUBONMyy 21X43xMCiqliqmJ7hSoACj7ZVghrRJ5fJoGkXLL2mnG0xWwT6Kf/VyKJrPcatmTzc/STN0 jdVtamdDYiDrjXr38i7qj4+OaElJgJyo5wUBH1guqG9lK9YosNRMD0ACj+3U1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652225037; a=rsa-sha256; cv=none; b=y4ShvnVoIzeDnY3iDG+TqJMMhzJp8e5F3Pag+F/sGeP6hnpgBDwprI27uCds0LxNLfbzXC wuRHlBSXVPoibMh7pMYttAv8hka58R4KNVxwhXcQMh+58CDyk3Z7eTVgrTDHGR4V1kbKG4 caguD1ou9mHJxVrKTtvM2W9Yr04vi89KUVnpoM0p8vRIe2JVJPUF/QQJQCf4DToOAq72BE gK4HARQBzQWWIkUp9/I5k24MlGPLKJXkPS1fI9K2onnJ8r0uSvn4XcTsympxmL28htZ33X oQyX5AhrF7lF05dNvVNGZ0T1p8EVelJppBD77zGvnImOksdZqLCKjcoLDPJLqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=10e4ad0b1b49b770b6d9873bf34fd2cc93c6c454 commit 10e4ad0b1b49b770b6d9873bf34fd2cc93c6c454 Author: John Baldwin AuthorDate: 2021-09-15 16:03:17 +0000 Commit: John Baldwin CommitDate: 2022-05-10 22:51:49 +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 1fe2a91a655c..315c8be1a4c2 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -895,7 +895,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) {