projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9029199
)
strerror may be a #define on some systems
author
John Kohl
<jtkohl@mit.edu>
Tue, 23 Apr 1991 13:58:02 +0000
(13:58 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Tue, 23 Apr 1991 13:58:02 +0000
(13:58 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2029
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/posix/syslog.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/posix/syslog.c
b/src/lib/krb5/posix/syslog.c
index 5f30fc47f4036d27a9c1f00a708d9c36b2b5b7a5..d9e2e8a3aae2a03a85c7d486fe48b4779c757809 100644
(file)
--- a/
src/lib/krb5/posix/syslog.c
+++ b/
src/lib/krb5/posix/syslog.c
@@
-130,8
+130,10
@@
vsyslog(pri, fmt, ap)
/* substitute error message for %m */
{
register char ch, *t1, *t2;
- char *strerror();
-
+#ifndef strerror
+ extern char *strerror();
+#endif
+
for (t1 = fmt_cpy; ch = *fmt; ++fmt)
if (ch == '%' && fmt[1] == 'm') {
++fmt;