mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Build error was not yet recorded by autobuilders. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From 1af7ae33e3e8178ab5c649c3a52838d4375c4228 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= <jskarvad@redhat.com>
|
|
Date: Tue, 10 Jun 2025 14:47:54 +0200
|
|
Subject: [PATCH] mausezahn: fixed compilation with gcc-15
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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 <jskarvad@redhat.com>
|
|
|
|
Upstream: https://github.com/netsniff-ng/netsniff-ng/commit/1af7ae33e3e8178ab5c649c3a52838d4375c4228
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
|
---
|
|
staging/mops.h | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/staging/mops.h b/staging/mops.h
|
|
index cf19f098..ae3769a7 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);
|