Fix prototype of redefined libc function

Merged Andrea Gianarda requested to merge fix/gcc_15_1_1 into bc

Merge request reports