summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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) {