summaryrefslogtreecommitdiff
path: root/dev-util/codeblocks/files
diff options
context:
space:
mode:
authorZurab Kvachadze <zurabid2016@gmail.com>2025-07-10 23:25:50 +0200
committerSam James <sam@gentoo.org>2025-07-10 23:39:43 +0100
commit3abcc2583368bf85bacda84a19b9af322690b344 (patch)
treeafa9e69c25ab09e88410688683e6a873002ebd06 /dev-util/codeblocks/files
parentc94c5ed9ec31aaa011c784d365a47d1680fd5c99 (diff)
downloadgentoo-3abcc2583368bf85bacda84a19b9af322690b344.tar.gz
gentoo-3abcc2583368bf85bacda84a19b9af322690b344.tar.bz2
gentoo-3abcc2583368bf85bacda84a19b9af322690b344.zip
www-nginx/ngx-vod: fix unprototyped func declaration causing build errors on new gcc's
Before version 15, GCC had -std=gnu17 as the default. GCC 15 bumped the default to -std=gnu23. One of the changes in C23 is the interpretation of function declaration without parameters (unprototyped declaration). In C17 and before, the unprototyped declaration specified no information on the number and types of arguments. With GCC 15, the declaration of the form int myfunc() is treated the same as int myfunc(void) i.e. the function takes no arguments. This change broke compilation of the module which relied on older interpretation. The broken function, having the unprototyped declaration, actually takes one argument of type ngx_cycle_t *. This commit corrects the function declaration and definition, explicitly specifying the arguments. Closes: https://bugs.gentoo.org/959586 Closes: https://bugs.gentoo.org/959690 Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42954 Closes: https://github.com/gentoo/gentoo/pull/42954 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/codeblocks/files')
0 files changed, 0 insertions, 0 deletions