Debian Patches

Status for librtas/2.0.4-1.1

Patch Description Author Forwarded Bugs Origin Last update
0001-fixes-for-Wstrict-prototypes.patch fixes for -Wstrict-prototypes
We should always specify the argument list and types.

librtas_src/librtas.h:55:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
55 | int rtas_activate_firmware();
| ^~~
librtas_src/internal.h:50:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
50 | int interface_exists();
| ^~~
librtas_src/syscall_calls.c:254:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
254 | int rtas_activate_firmware()
| ^~~~~~~~~~~~~~~~~~~~~~
librtas_src/syscall_rmo.c:309:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
309 | static int init_workarea_config()
| ^~~~~~~~~~~~~~~~~~~~
librtas_src/syscall_rmo.c:388:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
388 | int interface_exists()
| ^~~~~~~~~~~~~~~~
librtasevent_src/print_rtas_event.c:62:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
62 | static int (*re_print_fns[])() = {
| ^~~~~~

The only thing noteworthy here is rtas_activate_firmware(), which is
declared in a public header. But updating the declaration to
rtas_activate_firmware(void), which matches the implementation and all
known callers, should not pose any compatibility issues.
Nathan Lynch <nathanl@linux.ibm.com> no 2023-05-10

All known versions for source package 'librtas'

Links