projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed the HAVE_STRERROR directive and our replacement strerror() function for ...
[citadel.git]
/
citadel
/
support.c
diff --git
a/citadel/support.c
b/citadel/support.c
index 16e10e6f8e38f25ca4ba5583bdd83393f0ccc61d..56941c36fb23abac8f365b3d20c4dc44ffd21588 100644
(file)
--- a/
citadel/support.c
+++ b/
citadel/support.c
@@
-106,16
+106,3
@@
void mesg_locate(char *targ, size_t n, const char *searchfor,
}
-#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
-