From 835bf8e0163b563e0d7a5cd8b435141d7a58b946 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 10 Aug 2000 04:40:02 +0000 Subject: Update. 2000-08-01 Mark Kettenis * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved to sysdeps/unix/sysv/linux/i386/sys/procfs.h. Remove the junk that's only relevant in the Linux kernel itself. Add a warning saying that this file is now obsolete, and include . * sysdeps/unix/sysv/linux/i386/sys/procfs.h (elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t, elf_fpxregset_t): Moved here from sysdeps/unix/sysv/linux/i386/sys/elf.h. Don't include , and . Remove parts of `struct elf_prstatus' that are #ifdef'ed out. Improve comments and add the notice that the file is primarily there for GDB. * sysdeps/unix/sysv/linux/i386/sys/user.h: Fix comment. 2000-08-09 Jakub Jelinek * time/tzfile.c (__tzfile_compute): __tzstring zones from zone_names. 2000-08-09 Jakub Jelinek * resolv/resolv.h (__res_state): Surround prototype with __BEGIN_DECLS/__END_DECLS. * sysdeps/unix/sysv/linux/m68k/chown.c: Include kernel-features.h. 2000-08-04 Jes Sorensen * sysdeps/unix/sysv/linux/ia64/bits/resource.h (__rlimit_resource): Make independant of asm/resource.h from the Linux kernel. 2000-08-06 Bruno Haible * iconv/gconv_conf.c (__gconv_read_conf): Don't call realpath. 2000-08-06 Bruno Haible * intl/Makefile (CPPFLAGS): Remove $(i18ndir) from LOCALE_ALIAS_PATH. * locale/Makefile (locale-CPPFLAGS): Likewise. 2000-08-09 Ulrich Drepper * sysdeps/i386/fpu/libm-test-ulps: Increase several error values for AMD processors. 2000-08-03 Jakub Jelinek * misc/Versions (mincore): Export at GLIBC_2.2. 2000-08-03 Bruno Haible * intl/libintl.h (gettext, dgettext, dcgettext): Add back __THROW. --- resolv/resolv.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'resolv') diff --git a/resolv/resolv.h b/resolv/resolv.h index 74a55ef..6677add 100644 --- a/resolv/resolv.h +++ b/resolv/resolv.h @@ -1,7 +1,7 @@ /* * Copyright (c) 1983, 1987, 1989 * The Regents of the University of California. All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -13,7 +13,7 @@ * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE @@ -216,7 +216,9 @@ typedef struct __res_state *res_state; /* Things involving an internal (static) resolver context. */ #if !defined _LIBC || defined _LIBC_REENTRANT +__BEGIN_DECLS extern struct __res_state *__res_state(void) __attribute__ ((__const__)); +__END_DECLS #define _res (*__res_state()) #else #ifndef __BIND_NOSTATIC @@ -259,7 +261,7 @@ __END_DECLS #if !defined(SHARED_LIBBIND) || defined(LIB) /* * If libbind is a shared object (well, DLL anyway) - * these externs break the linker when resolv.h is + * these externs break the linker when resolv.h is * included by a lib client (like named) * Make them go away if a client is including this * -- cgit v1.1