Index: head/lib/libsysdecode/errno.c =================================================================== --- head/lib/libsysdecode/errno.c +++ head/lib/libsysdecode/errno.c @@ -37,7 +37,6 @@ #if defined(__aarch64__) || defined(__amd64__) || defined(__i386__) #include -static #include #endif Index: head/sys/compat/linux/linux_emul.h =================================================================== --- head/sys/compat/linux/linux_emul.h +++ head/sys/compat/linux/linux_emul.h @@ -80,6 +80,4 @@ struct linux_pemuldata *pem_find(struct proc *); -extern const int linux_errtbl[]; - #endif /* !_LINUX_EMUL_H_ */ Index: head/sys/compat/linux/linux_errno.inc =================================================================== --- head/sys/compat/linux/linux_errno.inc +++ head/sys/compat/linux/linux_errno.inc @@ -38,7 +38,7 @@ * XXX: The "XXX" comments below should be replaced with rationale * for the errno value chosen. */ -const int linux_errtbl[ELAST + 1] = { +static const int linux_errtbl[ELAST + 1] = { /* [0, 9] */ [0] = -0, [EPERM] = -LINUX_EPERM, Index: head/sys/modules/linux_common/Makefile =================================================================== --- head/sys/modules/linux_common/Makefile +++ head/sys/modules/linux_common/Makefile @@ -9,7 +9,6 @@ EXPORT_SYMS= EXPORT_SYMS+= linux_emul_path -EXPORT_SYMS+= linux_errtbl EXPORT_SYMS+= linux_ioctl_register_handler EXPORT_SYMS+= linux_ioctl_unregister_handler EXPORT_SYMS+= linux_get_osname