Commit 3d1e8a8
committed
lib/erl_interface: add proper prototypes in ei_runner.c for GCC 15
GCC 15 rejects calls through empty-parameter declarations like
static int readn();
static void dump();
in its default C mode, reporting errors such as "too many arguments
to function". GCC 13 and GCC 14 still accept this code in default
mode, but GCC 15 follows newer C2x/C23 semantics here.
Fix this by replacing the non-prototype declarations in ei_runner.c
with proper prototypes matching the existing definitions.1 parent bb2e765 commit 3d1e8a8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments