Commit 926bb42
committed
parted: backport upstream C23 fix
Without the change the build against c23 compiler (like `gcc-15`) fails as:
parted> parted.c: In function '_init_commands':
parted> parted.c:2469:9: error: passing argument 2 of 'command_create' from incompatible pointer type []
parted> 2469 | do_version,
parted> | ^~~~~~~~~~
parted> | |
parted> | int (*)(void)1 parent 247b802 commit 926bb42
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
0 commit comments