git: e6c88ad35066 - stable/13 - ggatec: Use ANSI C definition for init_initial_buffer_size.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 May 2022 00:30:02 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e6c88ad350667ddbaba01dcb2423212618ad9ea2 commit e6c88ad350667ddbaba01dcb2423212618ad9ea2 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-02-01 01:12:04 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-11 00:04:10 +0000 ggatec: Use ANSI C definition for init_initial_buffer_size. This fixes -Wstrict-prototypes and -Wold-style-definition warnings from GCC 9. (cherry picked from commit 6c9ed428284e40f28a49eac2680f06ed33b7cca9) --- 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;