Author: metze Date: 2005-08-05 23:56:07 +0000 (Fri, 05 Aug 2005) New Revision: 9151
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9151 Log: reverting to return char * again metze Modified: branches/SAMBA_4_0/source/heimdal/lib/roken/gai_strerror.c branches/SAMBA_4_0/source/heimdal/lib/roken/roken.h Changeset: Modified: branches/SAMBA_4_0/source/heimdal/lib/roken/gai_strerror.c =================================================================== --- branches/SAMBA_4_0/source/heimdal/lib/roken/gai_strerror.c 2005-08-05 23:49:08 UTC (rev 9150) +++ branches/SAMBA_4_0/source/heimdal/lib/roken/gai_strerror.c 2005-08-05 23:56:07 UTC (rev 9151) @@ -40,7 +40,7 @@ static struct gai_error { int code; - const char *str; + char *str; } errors[] = { {EAI_NOERROR, "no error"}, #ifdef EAI_ADDRFAMILY @@ -65,7 +65,7 @@ * */ -const char * ROKEN_LIB_FUNCTION +char * ROKEN_LIB_FUNCTION gai_strerror(int ecode) { struct gai_error *g; Modified: branches/SAMBA_4_0/source/heimdal/lib/roken/roken.h =================================================================== --- branches/SAMBA_4_0/source/heimdal/lib/roken/roken.h 2005-08-05 23:49:08 UTC (rev 9150) +++ branches/SAMBA_4_0/source/heimdal/lib/roken/roken.h 2005-08-05 23:56:07 UTC (rev 9151) @@ -543,7 +543,7 @@ #endif #ifndef HAVE_GAI_STRERROR -const char * ROKEN_LIB_FUNCTION +char * ROKEN_LIB_FUNCTION gai_strerror(int ecode); #endif