Make return value of gai_strerror const to match SUSv3.

Prompted by Stefan Metzmacher change to Samba.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15835 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-08-05 09:06:29 +00:00
parent 29991a7841
commit c1dfa1a518
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ static struct gai_error {
* *
*/ */
char * ROKEN_LIB_FUNCTION const char * ROKEN_LIB_FUNCTION
gai_strerror(int ecode) gai_strerror(int ecode)
{ {
struct gai_error *g; struct gai_error *g;

View File

@@ -543,7 +543,7 @@ freeaddrinfo(struct addrinfo *);
#endif #endif
#ifndef HAVE_GAI_STRERROR #ifndef HAVE_GAI_STRERROR
char * ROKEN_LIB_FUNCTION const char * ROKEN_LIB_FUNCTION
gai_strerror(int); gai_strerror(int);
#endif #endif