diff options
Diffstat (limited to 'lib-src/update-game-score.c')
-rw-r--r-- | lib-src/update-game-score.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index 94de662e589..40397536fad 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c @@ -94,22 +94,6 @@ lose (const char *msg) exit (EXIT_FAILURE); } -/* Taken from sysdep.c. */ -#ifndef HAVE_STRERROR -#ifndef WINDOWSNT -char * -strerror (int errnum) -{ - extern char *sys_errlist[]; - extern int sys_nerr; - - if (errnum >= 0 && errnum < sys_nerr) - return sys_errlist[errnum]; - return (char *) "Unknown error"; -} -#endif /* not WINDOWSNT */ -#endif /* ! HAVE_STRERROR */ - static _Noreturn void lose_syserr (const char *msg) { |