gentoo-ebuilds/net-analyzer/gvmd/files/gvmd-25.2.1-fix-c23-build.patch
Giuseppe Foti 4c46ec54d7
net-analyzer/gvmd: Fix C23 build
Closes: https://bugs.gentoo.org/962394
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43705
Signed-off-by: Florian Schmaus <flow@gentoo.org>
2025-09-13 17:03:00 +02:00

25 lines
671 B
Diff

# Complete two function prototypes to fix C23 build
# https://github.com/greenbone/gvmd/commit/37c5d9176cbb16c107f3ce2db34b1dcbb10a0c5e
# https://github.com/greenbone/gvmd/commit/760064291b66ac72ce9fc184f2c5770680ae239d
--- a/src/manage_sql_secinfo.h
+++ b/src/manage_sql_secinfo.h
@@ -181,7 +181,7 @@
#define SECINFO_COMMIT_SIZE_DEFAULT 0
int
-secinfo_feed_version_status ();
+secinfo_feed_version_status (const char *);
pid_t
manage_sync_scap (sigset_t *);
--- a/src/manage_sql_tickets.h
+++ b/src/manage_sql_tickets.h
@@ -50,7 +50,7 @@ void
empty_trashcan_tickets ();
void
-check_tickets ();
+check_tickets (task_t);
void
delete_tickets_user (user_t);