]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on Linux and Solaris
authorRoy Marples <roy@marples.name>
Tue, 12 May 2020 13:54:19 +0000 (13:54 +0000)
committerRoy Marples <roy@marples.name>
Tue, 12 May 2020 13:54:19 +0000 (13:54 +0000)
src/if-linux.c
src/if-sun.c

index c50d714ecbd056f61d4f5f073350b1639ea9ba9d..2e86fe616b69493fb865699409235d163e6d4b0f 100644 (file)
@@ -342,7 +342,7 @@ if_ignore(__unused struct dhcpcd_ctx *ctx, const char *ifname)
 
 /* XXX work out Virtal Interface Masters */
 int
-if_vimaster(__unused const struct dhcpcd_ctx *ctx, __unused const char *ifname)
+if_vimaster(__unused struct dhcpcd_ctx *ctx, __unused const char *ifname)
 {
 
        return 0;
index 2339e23677542d7d280488023f30c147cce437dc..fdd9a031527d8bd7ed05b486b9d0e5d5f0d92a12 100644 (file)
@@ -280,7 +280,7 @@ if_vlanid(__unused const struct interface *ifp)
 }
 
 int
-if_vimaster(__unused const struct dhcpcd_ctx *ctx, __unused const char *ifname)
+if_vimaster(__unused struct dhcpcd_ctx *ctx, __unused const char *ifname)
 {
 
        return 0;