During compilation, a warning occurred regarding a conflict between the declaration of __dls2 without a prototype in the dlstart.c file and its definition with a prototype in the rcrt1.c file. The compiler reports that the declaration without a prototype is deprecated and is treated as a zero-parameter prototype in C2x.
warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]

Request: How can we resolve this conflict? Should the declaration be aligned with the prototype, or are there other solutions to consider?