summaryrefslogtreecommitdiffstats
path: root/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-29 11:41:00 +0000
committerRoy Marples <roy@marples.name>2008-03-29 11:41:00 +0000
commit75e802f3d49ad0bc85bd7c0faa6038eb2f98124c (patch)
tree9f6a35744ac51130299037faaac18ed35790f532 /if.h
parentc9cd4f845aff87a8b6d1faae544fc93dff2035e4 (diff)
downloaddhcpcd-75e802f3d49ad0bc85bd7c0faa6038eb2f98124c.tar.xz
Save a few more bytes.
Diffstat (limited to 'if.h')
-rw-r--r--if.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/if.h b/if.h
index 311c30b1..06e73001 100644
--- a/if.h
+++ b/if.h
@@ -127,8 +127,9 @@ char *hwaddr_ntoa(const unsigned char *, size_t);
size_t hwaddr_aton(unsigned char *, const char *);
struct interface *read_interface(const char *, int);
-int get_mtu(const char *);
-int set_mtu(const char *, short int);
+int do_mtu(const char *, short int);
+#define get_mtu(iface) do_mtu(iface, 0)
+#define set_mtu(iface, mtu) do_mtu(iface, mtu)
int add_address(const char *, struct in_addr, struct in_addr, struct in_addr);
int del_address(const char *, struct in_addr, struct in_addr);