changeset 5215:c246c5e40b03 draft

Fix compile on Linux and Solaris
author Roy Marples <roy@marples.name>
date Tue, 12 May 2020 13:54:19 +0000
parents 7615b4eec51c
children 7cf6e8760b69
files src/if-linux.c src/if-sun.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/if-linux.c	Tue May 12 11:46:19 2020 +0100
+++ b/src/if-linux.c	Tue May 12 13:54:19 2020 +0000
@@ -342,7 +342,7 @@
 
 /* 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;
--- a/src/if-sun.c	Tue May 12 11:46:19 2020 +0100
+++ b/src/if-sun.c	Tue May 12 13:54:19 2020 +0000
@@ -280,7 +280,7 @@
 }
 
 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;