summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/roken
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-05 23:56:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:24 -0500
commit918b1b3251351ba4002e45efcf5e516eb0950867 (patch)
tree717fd316a80e7c70d69fed12cbd46bd1cd5ede2e /source4/heimdal/lib/roken
parent4d4691a16b1ef9e1116b212bafdbcfb22d049f41 (diff)
downloadsamba-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')
-rw-r--r--source4/heimdal/lib/roken/gai_strerror.c4
-rw-r--r--source4/heimdal/lib/roken/roken.h2
2 files changed, 3 insertions, 3 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;
diff --git a/source4/heimdal/lib/roken/roken.h b/source4/heimdal/lib/roken/roken.h
index 200968729e..545f43c6a7 100644
--- a/source4/heimdal/lib/roken/roken.h
+++ b/source4/heimdal/lib/roken/roken.h
@@ -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