Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107623852
D27004.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D27004.id.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
Fri, Jan 17, 8:00 PM (13 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15831592
Default Alt Text
D27004.id.diff (1 KB)
Attached To
Mode
D27004: Staticize linux_errtbl[]
Attached
Detach File
Event Timeline
Log In to Comment