summaryrefslogtreecommitdiff
path: root/dev.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-07-31 09:19:27 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-07-31 09:43:37 +0200
commit514a4ae9fa544db72e3ea2fc6dcd3a9530b24127 (patch)
treeb91a9203ca089216d44116db4e38ea91aca95a84 /dev.h
parent7ca399bd639ab3059c80f2c0c946b64c06270b14 (diff)
dev: Constify `ifname' parameter to device_up_and_running()
The parameter `ifname' to device_up_and_running() is never modified inside the function, thus mark it as const. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'dev.h')
-rw-r--r--dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev.h b/dev.h
index 87751c6..7bd1fb3 100644
--- a/dev.h
+++ b/dev.h
@@ -10,7 +10,7 @@ extern int device_ifindex(const char *ifname);
extern int device_type(const char *ifname);
extern short device_get_flags(const char *ifname);
extern void device_set_flags(const char *ifname, const short flags);
-extern int device_up_and_running(char *ifname);
+extern int device_up_and_running(const char *ifname);
extern u32 device_bitrate(const char *ifname);
#endif /* DEV_H */