r9151: reverting to return char * again
authorStefan Metzmacher <metze@samba.org>
Fri, 5 Aug 2005 23:56:07 +0000 (23:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:31:24 +0000 (13:31 -0500)
metze

source/heimdal/lib/roken/gai_strerror.c
source/heimdal/lib/roken/roken.h

index 8138a5940572a0a410fce8b8ebc353d30f9ee822..5c28f58bf46d2a0ca34974f555edbe99d4d2d562 100644 (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;
index 200968729e6a85342bf3895611bf7e70cdef7951..545f43c6a755da5162074dd0c9050a705089b3ec 100644 (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