From e2b11ac4fd88e9b4c28302a054bdd5d3bc714d0b Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 15 Aug 1996 15:54:05 +0000 Subject: [PATCH] Cray has a prototype for hstrerror but not the actual function. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@651 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/hstrerror.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/roken/hstrerror.c b/lib/roken/hstrerror.c index 3611f1f73..d766441c3 100644 --- a/lib/roken/hstrerror.c +++ b/lib/roken/hstrerror.c @@ -9,6 +9,7 @@ #include #include +#ifndef HAVE_H_ERRLIST static const char *const h_errlist[] = { @@ -22,8 +23,8 @@ char *const h_errlist[] = { static const int h_nerr = { sizeof h_errlist / sizeof h_errlist[0] }; +#endif -const char * hstrerror(int herr) {