Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177681282
D27004.1795020778.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D27004.1795020778.diff
View Options
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 <compat/linux/linux_errno.h>
-static
#include <compat/linux/linux_errno.inc>
#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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 18, 4:52 PM (22 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41828254
Default Alt Text
D27004.1795020778.diff (1 KB)
Attached To
Mode
D27004: Staticize linux_errtbl[]
Attached
Detach File
Event Timeline