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
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
|
||||||
|
#ifndef HAVE_H_ERRLIST
|
||||||
static
|
static
|
||||||
const
|
const
|
||||||
char *const h_errlist[] = {
|
char *const h_errlist[] = {
|
||||||
@@ -22,8 +23,8 @@ 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] };
|
||||||
|
#endif
|
||||||
|
|
||||||
const
|
|
||||||
char *
|
char *
|
||||||
hstrerror(int herr)
|
hstrerror(int herr)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user