1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-22 02:50:28 +03:00

r9151: reverting to return char * again

metze
(This used to be commit 60e2d58685ee50f90d6ad2ce2609a3c0b433ae10)
This commit is contained in:
Stefan Metzmacher 2005-08-05 23:56:07 +00:00 committed by Gerald (Jerry) Carter
parent 4d4691a16b
commit 918b1b3251
2 changed files with 3 additions and 3 deletions

View File

@ -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;
const char *str;
char *str;
} errors[] = {
{EAI_NOERROR, "no error"},
#ifdef EAI_ADDRFAMILY
@ -65,7 +65,7 @@ static struct gai_error {
*
*/
const char * ROKEN_LIB_FUNCTION
char * ROKEN_LIB_FUNCTION
gai_strerror(int ecode)
{
struct gai_error *g;

View File

@ -543,7 +543,7 @@ freeaddrinfo(struct addrinfo *ai);
#endif
#ifndef HAVE_GAI_STRERROR
const char * ROKEN_LIB_FUNCTION
char * ROKEN_LIB_FUNCTION
gai_strerror(int ecode);
#endif