]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
These functions are AF agnostic now.
authorRoy Marples <roy@marples.name>
Fri, 31 Mar 2017 18:58:44 +0000 (19:58 +0100)
committerRoy Marples <roy@marples.name>
Fri, 31 Mar 2017 18:58:44 +0000 (19:58 +0100)
src/if.h

index 7c0cc40242946b9a25d0f1f9bc082af741014094..97a944f9465cacab47dc328e368e08be3f1b0d10 100644 (file)
--- a/src/if.h
+++ b/src/if.h
@@ -170,13 +170,14 @@ int if_handlelink(struct dhcpcd_ctx *);
 # define SOCK_NONBLOCK 0x20000000
 #endif
 
+int if_route(unsigned char, const struct rt *rt);
+int if_initrt(struct dhcpcd_ctx *, int);
+
 #ifdef INET
 int if_address(unsigned char, const struct ipv4_addr *);
 int if_addrflags(const struct interface *, const struct in_addr *,
     const char *);
 
-int if_route(unsigned char, const struct rt *rt);
-int if_initrt(struct dhcpcd_ctx *, int);
 #endif
 
 #ifdef INET6