From 3594171541517f6397d7886c0c39edd5457f582e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 14 Jul 2008 18:47:02 +0000 Subject: [PATCH] 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 --- headers/private/net/net_device.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/headers/private/net/net_device.h b/headers/private/net/net_device.h index 5345210780..cab7526c00 100644 --- a/headers/private/net/net_device.h +++ b/headers/private/net/net_device.h @@ -31,7 +31,7 @@ struct net_device { struct net_hardware_address address; - ifreq_stats stats; + struct ifreq_stats stats; }; 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 (*add_multicast)(struct net_device *device, - const sockaddr *address); + const struct sockaddr *address); status_t (*remove_multicast)(struct net_device *device, - const sockaddr *address); + const struct sockaddr *address); }; #endif // NET_DEVICE_H