Skip to content

Commit 6466578

Browse files
committed
* fix, making gcc15 happy. Patch contributed by Petr Gajdos
1 parent f00d2e5 commit 6466578

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/pkt_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
pmacct (Promiscuous mode IP Accounting package)
3-
pmacct is Copyright (C) 2003-2024 by Paolo Lucente
3+
pmacct is Copyright (C) 2003-2025 by Paolo Lucente
44
*/
55

66
/*

src/pmacct.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
pmacct (Promiscuous mode IP Accounting package)
3-
pmacct is Copyright (C) 2003-2024 by Paolo Lucente
3+
pmacct is Copyright (C) 2003-2025 by Paolo Lucente
44
*/
55

66
/*
@@ -368,9 +368,9 @@ struct child_ctl2 {
368368
#include "util.h"
369369

370370
/* prototypes */
371-
void startup_handle_falling_child();
372-
void handle_falling_child();
373-
void ignore_falling_child();
371+
void startup_handle_falling_child(int);
372+
void handle_falling_child(int);
373+
void ignore_falling_child(int);
374374
void PM_sigint_handler(int);
375375
void PM_sigalrm_noop_handler(int);
376376
void reload(int);

src/signals.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
pmacct (Promiscuous mode IP Accounting package)
3-
pmacct is Copyright (C) 2003-2024 by Paolo Lucente
3+
pmacct is Copyright (C) 2003-2025 by Paolo Lucente
44
*/
55

66
/*
@@ -29,7 +29,7 @@
2929
extern struct plugins_list_entry *plugin_list;
3030

3131
/* functions */
32-
void startup_handle_falling_child()
32+
void startup_handle_falling_child(int unused)
3333
{
3434
int i, j;
3535

@@ -42,7 +42,7 @@ void startup_handle_falling_child()
4242
}
4343
}
4444

45-
void handle_falling_child()
45+
void handle_falling_child(int unused)
4646
{
4747
struct plugins_list_entry *list = NULL;
4848
int j, ret;
@@ -100,7 +100,7 @@ void handle_falling_child()
100100
}
101101
}
102102

103-
void ignore_falling_child()
103+
void ignore_falling_child(int unused)
104104
{
105105
pid_t cpid;
106106
int status;

0 commit comments

Comments
 (0)