projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warnings when compiling for Windows.
[tinc]
/
src
/
ifconfig.c
diff --git
a/src/ifconfig.c
b/src/ifconfig.c
index
76092a7
..
742d2eb
100644
(file)
--- a/
src/ifconfig.c
+++ b/
src/ifconfig.c
@@
-1,6
+1,6
@@
/*
ifconfig.c -- Generate platform specific interface configuration commands
/*
ifconfig.c -- Generate platform specific interface configuration commands
- Copyright (C) 2016-201
7
Guus Sliepen <guus@tinc-vpn.org>
+ Copyright (C) 2016-201
8
Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-71,10
+71,12
@@
void ifconfig_dhcp(FILE *out) {
}
void ifconfig_dhcp6(FILE *out) {
}
void ifconfig_dhcp6(FILE *out) {
+ (void)out;
fprintf(stderr, "DHCPv6 requested, but not supported by tinc on this platform\n");
}
void ifconfig_slaac(FILE *out) {
fprintf(stderr, "DHCPv6 requested, but not supported by tinc on this platform\n");
}
void ifconfig_slaac(FILE *out) {
+ (void)out;
// It's the default?
}
// It's the default?
}