git: 6c9ed428284e - main - ggatec: Use ANSI C definition for init_initial_buffer_size.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Feb 2022 01:12:26 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=6c9ed428284e40f28a49eac2680f06ed33b7cca9
commit 6c9ed428284e40f28a49eac2680f06ed33b7cca9
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-02-01 01:12:04 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-02-01 01:12:04 +0000
ggatec: Use ANSI C definition for init_initial_buffer_size.
This fixes -Wstrict-prototypes and -Wold-style-definition warnings
from GCC 9.
---
sbin/ggate/ggatec/ggatec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/ggate/ggatec/ggatec.c b/sbin/ggate/ggatec/ggatec.c
index dfd9506e5e26..0de8504ce3c4 100644
--- a/sbin/ggate/ggatec/ggatec.c
+++ b/sbin/ggate/ggatec/ggatec.c
@@ -534,7 +534,7 @@ g_gatec_rescue(void)
}
static void
-init_initial_buffer_size()
+init_initial_buffer_size(void)
{
int value;
size_t intsize;