about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-04 06:16:40 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-04 06:16:40 +0000
commit754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2 (patch)
tree3a7bd502ca18723cbf4b9cf63acc2ee2cc63ba9a /sysdeps/generic
parent468946739b3f7e6031d4843fc9a9d5a6e8a16114 (diff)
downloadglibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.tar.gz
glibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.tar.xz
glibc-754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2.zip
Update.
2001-04-03  Ulrich Drepper  <drepper@redhat.com>

	* resolv/netdb.h (gai_strerror): Make return value const.
	* sysdeps/generic/gai_strerror.c (gai_strerror): Likewise.
	* sysdeps/posix/gai_strerror.c (gai_strerror): Likewise.
	Add strings for new error values.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/gai_strerror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/gai_strerror.c b/sysdeps/generic/gai_strerror.c
index b63f0e2623..a2c9d8faeb 100644
--- a/sysdeps/generic/gai_strerror.c
+++ b/sysdeps/generic/gai_strerror.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,7 +19,7 @@
 #include <errno.h>
 #include <netdb.h>
 
-char *
+const char *
 gai_strerror (int code)
 {
   static char buffer[128];