Author: metze Date: 2005-08-05 08:09:43 +0000 (Fri, 05 Aug 2005) New Revision: 9105
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9105 Log: 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 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 07:16:07 UTC (rev 9104) +++ branches/SAMBA_4_0/source/heimdal/lib/roken/gai_strerror.c 2005-08-05 08:09:43 UTC (rev 9105) @@ -40,7 +40,7 @@ static struct gai_error { int code; - char *str; + const char *str; } errors[] = { {EAI_NOERROR, "no error"}, #ifdef EAI_ADDRFAMILY @@ -65,7 +65,7 @@ * */ -char * ROKEN_LIB_FUNCTION +const 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 07:16:07 UTC (rev 9104) +++ branches/SAMBA_4_0/source/heimdal/lib/roken/roken.h 2005-08-05 08:09:43 UTC (rev 9105) @@ -543,7 +543,7 @@ #endif #ifndef HAVE_GAI_STRERROR -char * ROKEN_LIB_FUNCTION +const char * ROKEN_LIB_FUNCTION gai_strerror(int ecode); #endif
