diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-12-20 22:35:33 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-12-20 22:35:33 +0000 |
commit | e69fb15a5060a4a3972a80359904b50809bffec2 (patch) | |
tree | 729eeb16728a43c64c06ddd28d9a7f7940179861 /lib | |
parent | 4a836c8ecfdf047721450373a6a45f9288831c96 (diff) |
gai_strerror() should return const char *; OK deraadt@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/gai_strerror.c | 4 |
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) { |