View | Details | Raw Unified | Return to bug 501
Collapse All | Expand All

(-)openbsd-compat/fake-getaddrinfo.c (-1 / +1 lines)
Lines 15-21 Link Here
15
RCSID("$Id: fake-getaddrinfo.c,v 1.3 2003/02/05 23:50:42 djm Exp $");
15
RCSID("$Id: fake-getaddrinfo.c,v 1.3 2003/02/05 23:50:42 djm Exp $");
16
16
17
#ifndef HAVE_GAI_STRERROR
17
#ifndef HAVE_GAI_STRERROR
18
const char *gai_strerror(int ecode)
18
char *gai_strerror(int ecode)
19
{
19
{
20
	switch (ecode) {
20
	switch (ecode) {
21
		case EAI_NODATA:
21
		case EAI_NODATA:
(-)openbsd-compat/fake-getaddrinfo.h (-1 / +1 lines)
Lines 37-43 Link Here
37
#endif /* !HAVE_GETADDRINFO */
37
#endif /* !HAVE_GETADDRINFO */
38
38
39
#ifndef HAVE_GAI_STRERROR
39
#ifndef HAVE_GAI_STRERROR
40
const char *gai_strerror(int ecode);
40
char *gai_strerror(int ecode);
41
#endif /* !HAVE_GAI_STRERROR */
41
#endif /* !HAVE_GAI_STRERROR */
42
42
43
#ifndef HAVE_FREEADDRINFO
43
#ifndef HAVE_FREEADDRINFO

Return to bug 501