From: Jaroslav Škarvada Date: Tue, 10 Jun 2025 14:47:54 +0200 X-Dgit-Generated: 0.6.9-1.1 a08f153d17aa7981ae46f89119d6befa4b6c427f Subject: mausezahn: fixed compilation with gcc-15 gcc-15 by default uses C23 standard which is more strict on forward declarations. Original report: https://bugzilla.redhat.com/show_bug.cgi?id=2340924 Signed-off-by: Jaroslav Škarvada --- diff --git a/staging/mops.h b/staging/mops.h index cf19f09..ae3769a 100644 --- a/staging/mops.h +++ b/staging/mops.h @@ -940,9 +940,9 @@ int mops_direct(char* dev, int mops_type, char* argstring); struct automops * automops_init(void); -struct automops * automops_alloc_protocol(); -struct automops * automops_delete_protocol(); -struct automops * automops_search_protocol(); +struct automops * automops_alloc_protocol(struct automops *cur); +struct automops * automops_delete_protocol(struct automops *cur); +struct automops * automops_search_protocol(struct automops *list, char *name); int automops_dump_all (struct automops* list); void automops_set_defaults(struct automops * cur); struct fields * automops_add_field (struct automops *amp);