mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-30 08:48:07 -07:00
function pointer to (void)() functions was used as a prototype for polymorphic dispatch, with num_args parameter showing number of arguments to pass to function. As num_args is either 0 or 1, and non-void functions take const char* as an argument, changing every signature to const char* and not passing argument to 0-argument functions is the only solution without major re-engineering. Closes: https://bugs.gentoo.org/949574 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40529 Signed-off-by: Sam James <sam@gentoo.org>
5.2 KiB
5.2 KiB