summaryrefslogtreecommitdiff
path: root/lib-src/update-game-score.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-10 22:44:06 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-10 22:44:06 -0700
commit5ebbef1dc0d12fa5402c97e8aa8c0c85553b87ee (patch)
tree90d30a96a919a0631a6b2c86a3a8ca6bb6f82210 /lib-src/update-game-score.c
parent9af577566add17398ee3b778ac9934bc391eecf7 (diff)
downloademacs-5ebbef1dc0d12fa5402c97e8aa8c0c85553b87ee.tar.gz
Assume strerror.
Diffstat (limited to 'lib-src/update-game-score.c')
-rw-r--r--lib-src/update-game-score.c16
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)
{