Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105024224
D47944.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
647 B
Referenced Files
None
Subscribers
None
D47944.diff
View Options
diff --git a/sys/net/vnet.h b/sys/net/vnet.h
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -342,7 +342,7 @@
static struct vnet_sysinit ident ## _vnet_init = { \
subsystem, \
order, \
- (sysinit_cfunc_t)(sysinit_nfunc_t)func, \
+ (sysinit_cfunc_t)func, \
(arg) \
}; \
SYSINIT(vnet_init_ ## ident, subsystem, order, \
@@ -356,7 +356,7 @@
static struct vnet_sysinit ident ## _vnet_uninit = { \
subsystem, \
order, \
- (sysinit_cfunc_t)(sysinit_nfunc_t)func, \
+ (sysinit_cfunc_t)func, \
(arg) \
}; \
SYSINIT(vnet_uninit_ ## ident, subsystem, order, \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 12, 5:27 PM (14 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15103719
Default Alt Text
D47944.diff (647 B)
Attached To
Mode
D47944: vnet: Remove intermediate type casting to sysinit_nfunc_t
Attached
Detach File
Event Timeline
Log In to Comment