extern declarations of h_nerr' and h_errlist' when needed.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@670 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-08-23 14:55:27 +00:00
parent 64ac4eabc4
commit 51930dcba6

View File

@@ -25,6 +25,12 @@ char *const h_errlist[] = {
static
const
int h_nerr = { sizeof h_errlist / sizeof h_errlist[0] };
#else
extern const char *h_errlist[];
extern int h_nerr;
#endif
char *
@@ -37,4 +43,3 @@ hstrerror(int herr)
}
#endif