summaryrefslogtreecommitdiff
path: root/link.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-09-13 12:21:45 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-09-13 12:21:45 +0200
commitc9a22110551ecc364c43b490fcbcd855dac1f744 (patch)
treeb2ba69617ed73f58a75d434240837d0a70f1d322 /link.h
parentf57a0b54ab1b5b2179d7d47f9b526638e8647fe8 (diff)
link: use uint32_t instead of u32
Use type uint32_t instead of u32 (which is typedef'ed to uint32_t in built_in.h) in order to avoid confusion wrt. kernel-/user-space types. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'link.h')
-rw-r--r--link.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/link.h b/link.h
index f201e8c..621a5bb 100644
--- a/link.h
+++ b/link.h
@@ -14,8 +14,8 @@
extern int wireless_sigqual(const char *ifname, struct iw_statistics *stats);
extern int wireless_rangemax_sigqual(const char *ifname);
-extern u32 wireless_bitrate(const char *ifname);
-extern u32 ethtool_bitrate(const char *ifname);
+extern uint32_t wireless_bitrate(const char *ifname);
+extern uint32_t ethtool_bitrate(const char *ifname);
extern int ethtool_drvinf(const char *ifname, struct ethtool_drvinfo *drvinf);
extern int ethtool_link(const char *ifname);