summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg')
-rw-r--r--usr.sbin/pkg/elf_tables.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/pkg/elf_tables.h b/usr.sbin/pkg/elf_tables.h
index e02a2f7..d3d689a 100644
--- a/usr.sbin/pkg/elf_tables.h
+++ b/usr.sbin/pkg/elf_tables.h
@@ -34,7 +34,7 @@ struct _elf_corres {
const char *string;
};
-struct _elf_corres mach_corres[] = {
+static struct _elf_corres mach_corres[] = {
{ EM_386, "x86" },
{ EM_AMD64, "x86" },
{ EM_ARM, "arm" },
@@ -46,23 +46,18 @@ struct _elf_corres mach_corres[] = {
{ -1, NULL },
};
-struct _elf_corres wordsize_corres[] = {
+static struct _elf_corres wordsize_corres[] = {
{ ELFCLASS32, "32" },
{ ELFCLASS64, "64" },
{ -1, NULL},
};
-struct _elf_corres endian_corres[] = {
+static struct _elf_corres endian_corres[] = {
{ ELFDATA2MSB, "eb" },
{ ELFDATA2LSB, "el" },
{ -1, NULL}
};
-struct _elf_corres os_corres[] = {
- { ELFOSABI_FREEBSD, "freebsd" },
- { -1, NULL }
-};
-
#define EF_MIPS_ABI 0x0000F000
#define E_MIPS_ABI_O32 0x00001000
#define E_MIPS_ABI_N32 0x00000020
OpenPOWER on IntegriCloud