diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-08-05 23:56:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:24 -0500 |
commit | 918b1b3251351ba4002e45efcf5e516eb0950867 (patch) | |
tree | 717fd316a80e7c70d69fed12cbd46bd1cd5ede2e /source4/heimdal/lib/roken/gai_strerror.c | |
parent | 4d4691a16b1ef9e1116b212bafdbcfb22d049f41 (diff) | |
download | samba-918b1b3251351ba4002e45efcf5e516eb0950867.tar.gz samba-918b1b3251351ba4002e45efcf5e516eb0950867.tar.bz2 samba-918b1b3251351ba4002e45efcf5e516eb0950867.zip |
r9151: reverting to return char * again
metze
(This used to be commit 60e2d58685ee50f90d6ad2ce2609a3c0b433ae10)
Diffstat (limited to 'source4/heimdal/lib/roken/gai_strerror.c')
-rw-r--r-- | source4/heimdal/lib/roken/gai_strerror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/heimdal/lib/roken/gai_strerror.c b/source4/heimdal/lib/roken/gai_strerror.c index 8138a59405..5c28f58bf4 100644 --- a/source4/heimdal/lib/roken/gai_strerror.c +++ b/source4/heimdal/lib/roken/gai_strerror.c @@ -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; |