diff options
author | Tom Gundersen <teg@jklm.no> | 2014-09-09 15:36:56 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-09-09 15:36:56 +0200 |
commit | aedca89268ed4fd6be41e55a605f011033ad1fb5 (patch) | |
tree | bf53358d9133f54f5687e3eab93477c1584c9e76 /src/udev/net/ethtool-util.h | |
parent | 4c83d994566718043e61e568cc214bdc4587f869 (diff) |
udev: net_setup_link - open ethtool and rtnl connections lazily
Diffstat (limited to 'src/udev/net/ethtool-util.h')
-rw-r--r-- | src/udev/net/ethtool-util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/udev/net/ethtool-util.h b/src/udev/net/ethtool-util.h index f44de5076a..690b1a65aa 100644 --- a/src/udev/net/ethtool-util.h +++ b/src/udev/net/ethtool-util.h @@ -42,9 +42,9 @@ typedef enum WakeOnLan { int ethtool_connect(int *ret); -int ethtool_get_driver(int fd, const char *ifname, char **ret); -int ethtool_set_speed(int fd, const char *ifname, unsigned int speed, Duplex duplex); -int ethtool_set_wol(int fd, const char *ifname, WakeOnLan wol); +int ethtool_get_driver(int *fd, const char *ifname, char **ret); +int ethtool_set_speed(int *fd, const char *ifname, unsigned int speed, Duplex duplex); +int ethtool_set_wol(int *fd, const char *ifname, WakeOnLan wol); const char *duplex_to_string(Duplex d) _const_; Duplex duplex_from_string(const char *d) _pure_; |