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

@@ -37,10 +37,6 @@
#include <X11/Xproto.h> /* for X_ChangeHosts */
#include <X11/Xatom.h> /* for XA_STRING */
#if !defined(__linux__) && !defined(CSRG_BASED)
extern char *sys_errlist[];
#endif
static char *conf_msg_id = STR_CONFDATA;
#define CONF_MSG_ID_LEN strlen(conf_msg_id)