This weren't typedefed, using them without struct is invalid in C.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26412 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -31,7 +31,7 @@ struct net_device {
|
|||||||
|
|
||||||
struct net_hardware_address address;
|
struct net_hardware_address address;
|
||||||
|
|
||||||
ifreq_stats stats;
|
struct ifreq_stats stats;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct net_device_module_info {
|
struct net_device_module_info {
|
||||||
@@ -56,9 +56,9 @@ struct net_device_module_info {
|
|||||||
status_t (*set_media)(struct net_device *device, uint32 media);
|
status_t (*set_media)(struct net_device *device, uint32 media);
|
||||||
|
|
||||||
status_t (*add_multicast)(struct net_device *device,
|
status_t (*add_multicast)(struct net_device *device,
|
||||||
const sockaddr *address);
|
const struct sockaddr *address);
|
||||||
status_t (*remove_multicast)(struct net_device *device,
|
status_t (*remove_multicast)(struct net_device *device,
|
||||||
const sockaddr *address);
|
const struct sockaddr *address);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // NET_DEVICE_H
|
#endif // NET_DEVICE_H
|
||||||
|
|||||||
Reference in New Issue
Block a user