aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc.c18
-rw-r--r--main.c4
2 files changed, 0 insertions, 22 deletions
diff --git a/etc.c b/etc.c
index 16d1295..801b098 100644
--- a/etc.c
+++ b/etc.c
@@ -634,24 +634,6 @@ strerror(int errno)
}
#endif /* not HAVE_STRERROR */
-#ifndef HAVE_SYS_ERRLIST
-char **sys_errlist;
-
-prepare_sys_errlist()
-{
- int i, n;
-
- i = 1;
- while (strerror(i) != NULL)
- i++;
- n = i;
- sys_errlist = New_N(char *, n);
- sys_errlist[0] = "";
- for (i = 1; i < n; i++)
- sys_errlist[i] = strerror(i);
-}
-#endif /* not HAVE_SYS_ERRLIST */
-
int
next_status(char c, int *status)
{
diff --git a/main.c b/main.c
index 2d08762..7bcf898 100644
--- a/main.c
+++ b/main.c
@@ -435,10 +435,6 @@ main(int argc, char **argv, char **envp)
textdomain(PACKAGE);
#endif
-#ifndef HAVE_SYS_ERRLIST
- prepare_sys_errlist();
-#endif /* not HAVE_SYS_ERRLIST */
-
NO_proxy_domains = newTextList();
fileToDelete = newTextList();