Removed the HAVE_STRERROR directive and our replacement strerror() function for ...
[citadel.git] / citadel / utils / msgform.c
index 909e6b8ed2b62027dc197d2b91a59b40d7e731ad..03d94c2c7814fe192b51e85c9f89aad46b9c4a54 100644 (file)
@@ -26,18 +26,6 @@ int fpgetfield(FILE * fp, char *string);
 int fmout(int width, FILE * fp);
 
 
-#ifndef HAVE_STRERROR
-/*
- * replacement strerror() for systems that don't have it
- */
-char *strerror(int e)
-{
-       static char buf[32];
-
-       snprintf(buf, sizeof buf, "errno = %d", e);
-       return (buf);
-}
-#endif
 
 int main(int argc, char **argv)
 {