Fix up safe_strerror constification

The earlier patch to constify safe_strerror missed a couple of spots,
corrected here.

gdb/ChangeLog
2019-11-01  Tom Tromey  <tromey@adacore.com>

	* gdbsupport/mingw-strerror.c (safe_strerror): Constify result.

Change-Id: I36d5ced144d27b1a6734d9ab9a10a7b9f339ae88
This commit is contained in:
Tom Tromey
2019-10-31 12:44:27 -06:00
parent e48f6033b0
commit b74816496d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-11-01 Tom Tromey <tromey@adacore.com>
* gdbsupport/mingw-strerror.c (safe_strerror): Constify result.
2019-11-01 Christian Biesinger <cbiesinger@google.com>
* configure: Regenerate.

View File

@ -28,7 +28,7 @@
unfortunately this includes all socket-related error codes.
This replacement tries to find a system-provided error message. */
char *
const char *
safe_strerror (int errnum)
{
static char *buffer;