Fix __sprintfkf prototype in libgcc.
authorMichael Meissner <meissner@linux.ibm.com>
Tue, 2 Mar 2021 03:13:33 +0000 (22:13 -0500)
committerMichael Meissner <meissner@linux.ibm.com>
Tue, 2 Mar 2021 03:13:33 +0000 (22:13 -0500)
commit76c99cb1133334d2057b72aa5d5281ff7e71af74
treec39bb5457836950ae306fc01d7e6ef5cb9d40589
parent8893888621f56f3d3bd70a16f075108ac837af53
Fix __sprintfkf prototype in libgcc.

The prototype of __sprintfkf in _sprintfkf.h did not match the function in
_sprintfkf.c.  This patch fixes the prototype.  I also included the
_sprintfkf.h file in _sprintfkf.c to make sure the prototype is correct and to
eliminate a warning about declaring the function without a previous
declaration.

libgcc/
2021-03-01  Michael Meissner  <meissner@linux.ibm.com>

* config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
the function.
* config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
libgcc/config/rs6000/_sprintfkf.c
libgcc/config/rs6000/_sprintfkf.h