From 754f65763937c4ebb03dc8a2f4d6eb6f7bd67be2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 4 Apr 2001 06:16:40 +0000 Subject: Update. 2001-04-03 Ulrich Drepper * 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. --- sysdeps/generic/gai_strerror.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/generic') 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 #include -char * +const char * gai_strerror (int code) { static char buffer[128]; -- cgit v1.2.3