mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r9105: match the prototype of netdb.h
this should fix the build on solaris 10 lha can that be merged to the main heimdal if that apears to not break the build on other platforms metze
This commit is contained in:
parent
d8727b8de7
commit
cb02596279
@ -40,7 +40,7 @@ RCSID("$Id: gai_strerror.c,v 1.5 2005/04/12 11:28:42 lha Exp $");
|
||||
|
||||
static struct gai_error {
|
||||
int code;
|
||||
char *str;
|
||||
const char *str;
|
||||
} errors[] = {
|
||||
{EAI_NOERROR, "no error"},
|
||||
#ifdef EAI_ADDRFAMILY
|
||||
@ -65,7 +65,7 @@ static struct gai_error {
|
||||
*
|
||||
*/
|
||||
|
||||
char * ROKEN_LIB_FUNCTION
|
||||
const char * ROKEN_LIB_FUNCTION
|
||||
gai_strerror(int ecode)
|
||||
{
|
||||
struct gai_error *g;
|
||||
|
@ -543,7 +543,7 @@ freeaddrinfo(struct addrinfo *ai);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_GAI_STRERROR
|
||||
char * ROKEN_LIB_FUNCTION
|
||||
const char * ROKEN_LIB_FUNCTION
|
||||
gai_strerror(int ecode);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user