aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/movemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r--lib-src/movemail.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index b9a1be8a7f1..aa5fd989a6d 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -133,10 +133,6 @@ static char *mail_spool_name (char *);
133#endif 133#endif
134#endif 134#endif
135 135
136#ifndef HAVE_STRERROR
137char *strerror (int);
138#endif
139
140static _Noreturn void fatal (const char *s1, const char *s2, const char *s3); 136static _Noreturn void fatal (const char *s1, const char *s2, const char *s3);
141static void error (const char *s1, const char *s2, const char *s3); 137static void error (const char *s1, const char *s2, const char *s3);
142static _Noreturn void pfatal_with_name (char *name); 138static _Noreturn void pfatal_with_name (char *name);
@@ -920,21 +916,3 @@ mbx_delimit_end (FILE *mbf)
920} 916}
921 917
922#endif /* MAIL_USE_POP */ 918#endif /* MAIL_USE_POP */
923
924#ifndef HAVE_STRERROR
925char *
926strerror (errnum)
927 int errnum;
928{
929 extern char *sys_errlist[];
930 extern int sys_nerr;
931
932 if (errnum >= 0 && errnum < sys_nerr)
933 return sys_errlist[errnum];
934 return (char *) "Unknown error";
935}
936
937#endif /* ! HAVE_STRERROR */
938
939
940/* movemail.c ends here */