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:
@@ -25,6 +25,12 @@ char *const h_errlist[] = {
|
|||||||
static
|
static
|
||||||
const
|
const
|
||||||
int h_nerr = { sizeof h_errlist / sizeof h_errlist[0] };
|
int h_nerr = { sizeof h_errlist / sizeof h_errlist[0] };
|
||||||
|
#else
|
||||||
|
|
||||||
|
extern const char *h_errlist[];
|
||||||
|
|
||||||
|
extern int h_nerr;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char *
|
char *
|
||||||
@@ -37,4 +43,3 @@ hstrerror(int herr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user