diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2021-01-01 17:53:47 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2021-01-01 17:53:47 +0000 |
commit | fb6bc290fb342864f5362ab9cef7dd214df05cf3 (patch) | |
tree | d598997facdad147f8eea7475d6b7f52b00cd494 /share/syscons/scrnmaps/us-ascii_to_cp437 | |
parent | 670d2ad820c7584e6592d2a6d748dda0758d2ec5 (diff) |
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
Diffstat (limited to 'share/syscons/scrnmaps/us-ascii_to_cp437')
-rw-r--r-- | share/syscons/scrnmaps/us-ascii_to_cp437 | 2 |
1 files changed, 1 insertions, 1 deletions
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, |