summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-12-20 22:35:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-12-20 22:35:33 +0000
commite69fb15a5060a4a3972a80359904b50809bffec2 (patch)
tree729eeb16728a43c64c06ddd28d9a7f7940179861 /lib
parent4a836c8ecfdf047721450373a6a45f9288831c96 (diff)
gai_strerror() should return const char *; OK deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/gai_strerror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/gai_strerror.c b/lib/libc/net/gai_strerror.c
index a191cb5b283..767bc2f7e86 100644
--- a/lib/libc/net/gai_strerror.c
+++ b/lib/libc/net/gai_strerror.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gai_strerror.c,v 1.5 2001/06/05 02:31:34 deraadt Exp $ */
+/* $OpenBSD: gai_strerror.c,v 1.6 2004/12/20 22:35:32 millert Exp $ */
/*
* Copyright (c) 1997-1999, Craig Metz, All rights reserved.
@@ -38,7 +38,7 @@
#include <netdb.h>
#include <errno.h>
-char *
+const char *
gai_strerror(int errnum)
{
switch (errnum) {