From owner-dev-commits-src-main@freebsd.org Fri Jan 1 17:57:59 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 626744CF786; Fri, 1 Jan 2021 17:57:59 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D6t6H2KhJz3Pb0; Fri, 1 Jan 2021 17:57:59 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 3DE0E26F2A; Fri, 1 Jan 2021 17:57:59 +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 101HvxjI040745; Fri, 1 Jan 2021 17:57:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 101HvxvG040744; Fri, 1 Jan 2021 17:57:59 GMT (envelope-from git) Date: Fri, 1 Jan 2021 17:57:59 GMT Message-Id: <202101011757.101HvxvG040744@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: fb6bc290fb34 - main - syscons: scrnmaps: appease -Wmissing-variable-declarations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fb6bc290fb342864f5362ab9cef7dd214df05cf3 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2021 17:57:59 -0000 The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=fb6bc290fb342864f5362ab9cef7dd214df05cf3 commit fb6bc290fb342864f5362ab9cef7dd214df05cf3 Author: Kyle Evans AuthorDate: 2021-01-01 17:53:47 +0000 Commit: Kyle Evans CommitDate: 2021-01-01 17:53:47 +0000 syscons: scrnmaps: appease -Wmissing-variable-declarations scrmap is only used in the one compilation unit in all cases, make it static rather than extern'ing it. There's little benefit, but it's easy to do. It's unclear how this hasn't failed many builds before now, since it should have cropped up sometime around deeper hierarchies getting a default WARNS. MFC after: 3 days --- share/syscons/scrnmaps/armscii8-2haik8 | 2 +- share/syscons/scrnmaps/iso-8859-1_to_cp437 | 2 +- share/syscons/scrnmaps/iso-8859-4_for_vga9 | 2 +- share/syscons/scrnmaps/iso-8859-7_to_cp437 | 2 +- share/syscons/scrnmaps/koi8-r2cp866 | 2 +- share/syscons/scrnmaps/koi8-u2cp866u | 2 +- share/syscons/scrnmaps/us-ascii_to_cp437 | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/share/syscons/scrnmaps/armscii8-2haik8 b/share/syscons/scrnmaps/armscii8-2haik8 index f6bc35d74701..0546204b9164 100644 --- a/share/syscons/scrnmaps/armscii8-2haik8 +++ b/share/syscons/scrnmaps/armscii8-2haik8 @@ -27,7 +27,7 @@ * $FreeBSD$ */ -scrmap_t scrmap = { +static scrmap_t scrmap = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/share/syscons/scrnmaps/iso-8859-1_to_cp437 b/share/syscons/scrnmaps/iso-8859-1_to_cp437 index c18e62f04667..80522c4315e2 100644 --- a/share/syscons/scrnmaps/iso-8859-1_to_cp437 +++ b/share/syscons/scrnmaps/iso-8859-1_to_cp437 @@ -25,7 +25,7 @@ * $FreeBSD$ */ -scrmap_t scrmap = { +static scrmap_t scrmap = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/share/syscons/scrnmaps/iso-8859-4_for_vga9 b/share/syscons/scrnmaps/iso-8859-4_for_vga9 index e096bdcd771e..5afbe36ee397 100644 --- a/share/syscons/scrnmaps/iso-8859-4_for_vga9 +++ b/share/syscons/scrnmaps/iso-8859-4_for_vga9 @@ -31,7 +31,7 @@ * only at 0xC0-0xDF area. */ -scrmap_t scrmap = { +static scrmap_t scrmap = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, diff --git a/share/syscons/scrnmaps/iso-8859-7_to_cp437 b/share/syscons/scrnmaps/iso-8859-7_to_cp437 index 12c467a360f2..7c1b49dba2da 100644 --- a/share/syscons/scrnmaps/iso-8859-7_to_cp437 +++ b/share/syscons/scrnmaps/iso-8859-7_to_cp437 @@ -2,7 +2,7 @@ * $FreeBSD$ */ -scrmap_t scrmap = { +static scrmap_t scrmap = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/share/syscons/scrnmaps/koi8-r2cp866 b/share/syscons/scrnmaps/koi8-r2cp866 index 15f2847fa9b3..d8d86f28e3e8 100644 --- a/share/syscons/scrnmaps/koi8-r2cp866 +++ b/share/syscons/scrnmaps/koi8-r2cp866 @@ -26,7 +26,7 @@ * $FreeBSD$ */ -scrmap_t scrmap = { +static scrmap_t scrmap = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/share/syscons/scrnmaps/koi8-u2cp866u b/share/syscons/scrnmaps/koi8-u2cp866u index 7fd86ad51bb7..a4e583da44a8 100644 --- a/share/syscons/scrnmaps/koi8-u2cp866u +++ b/share/syscons/scrnmaps/koi8-u2cp866u @@ -28,7 +28,7 @@ * $FreeBSD$ */ -scrmap_t scrmap = { +static scrmap_t scrmap = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/share/syscons/scrnmaps/us-ascii_to_cp437 b/share/syscons/scrnmaps/us-ascii_to_cp437 index e1155aa137c4..5e7d631237b3 100644 --- a/share/syscons/scrnmaps/us-ascii_to_cp437 +++ b/share/syscons/scrnmaps/us-ascii_to_cp437 @@ -2,7 +2,7 @@ * $FreeBSD$ */ -scrmap_t scrmap = { +static scrmap_t scrmap = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,