git: f4c460dacdda - main - tests/libalias: Fix build error due to wrong prototype
Lutz Donnerhacke
donner at FreeBSD.org
Wed May 26 20:02:53 UTC 2021
The branch main has been updated by donner:
URL: https://cgit.FreeBSD.org/src/commit/?id=f4c460dacdda5c6e1896a0c51d6096c4f3417b32
commit f4c460dacdda5c6e1896a0c51d6096c4f3417b32
Author: Lutz Donnerhacke <donner at FreeBSD.org>
AuthorDate: 2021-05-26 19:59:12 +0000
Commit: Lutz Donnerhacke <donner at FreeBSD.org>
CommitDate: 2021-05-26 19:59:12 +0000
tests/libalias: Fix build error due to wrong prototype
---
tests/sys/netinet/libalias/perf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/sys/netinet/libalias/perf.c b/tests/sys/netinet/libalias/perf.c
index b9e95a25b617..3c0b0d593f4c 100644
--- a/tests/sys/netinet/libalias/perf.c
+++ b/tests/sys/netinet/libalias/perf.c
@@ -58,7 +58,7 @@ static void usage(void);
} } while(0)
static void
-usage() {
+usage(void) {
printf("Usage: perf [max_seconds [batch_size [random_size [attack_size [redir_size]]]]]\n");
exit(1);
}
More information about the dev-commits-src-main
mailing list