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:
		| @@ -65,7 +65,7 @@ static struct gai_error { | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| char * ROKEN_LIB_FUNCTION | ||||
| const char * ROKEN_LIB_FUNCTION | ||||
| gai_strerror(int ecode) | ||||
| { | ||||
|     struct gai_error *g; | ||||
|   | ||||
| @@ -543,7 +543,7 @@ freeaddrinfo(struct addrinfo *); | ||||
| #endif | ||||
|  | ||||
| #ifndef HAVE_GAI_STRERROR | ||||
| char * ROKEN_LIB_FUNCTION | ||||
| const char * ROKEN_LIB_FUNCTION | ||||
| gai_strerror(int); | ||||
| #endif | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand