summaryrefslogtreecommitdiff
path: root/examples/ldns-dpa.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ldns-dpa.c')
-rw-r--r--examples/ldns-dpa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ldns-dpa.c b/examples/ldns-dpa.c
index c5717b245e9e7..0bc8a84032969 100644
--- a/examples/ldns-dpa.c
+++ b/examples/ldns-dpa.c
@@ -2823,13 +2823,13 @@ int main(int argc, char *argv[]) {
}
#else
-int main() {
+int main(void) {
fprintf(stderr, "ldns-dpa was not built because there is no pcap library on this system, or there was no pcap header file at compilation time. Please install pcap and rebuild.\n");
return 1;
}
#endif
#else
-int main() {
+int main(void) {
fprintf(stderr, "ldns-dpa was not built because there is no pcap library on this system, or there was no pcap header file at compilation time. Please install pcap and rebuild.\n");
return 1;
}