all: remove deprecated sys_errlist[] and replace with ANSI C strerror()

This commit is contained in:
Peter Howkins
2020-11-02 05:30:08 +00:00
parent 0f3bcae232
commit 67f62e5a8a
12 changed files with 8 additions and 80 deletions

View File

@@ -44,14 +44,6 @@
#include "ttdbck.h"
#include "tt_db_server_consts.h"
#if !defined(OPT_STRERROR)
// No strerror(), fake it
char *
strerror(int e)
{
return ((e<sys_nerr) ? sys_errlist[e] : "unknown");
}
#endif
Spec::
Spec()