From c756c71c24a3ba3fb72bcc651d03d99df274b2d2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 15 Jun 1998 10:29:49 +0000 Subject: Update. 1998-06-14 Andreas Schwab * sysdeps/generic/elf/backtracesyms.c: Make array elements constant. * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. * debug/execinfo.h: Update declaration. 1998-06-14 Andreas Schwab * sysdeps/generic/elf/backtracesyms.c: Make array elements constant. * sysdeps/generic/backtracesyms.c: Likewise. Fix type of RESULT. * debug/execinfo.h: Update declaration. 1998-06-13 Andreas Schwab * manual/llio.texi: Fix spelling. * manual/sysinfo.texi: Fix spelling. 1998-06-13 Andreas Schwab * misc/hsearch.c (__hdestroy): Renamed from hdestroy, create weak alias for old name. Put this on __libc_subfreeres. * misc/search.h: Declare it. 1998-06-13 Andreas Schwab * string/bits/string2.h (strcmp): Add missing parens around macro parameters. --- misc/hsearch.c | 7 ++++--- misc/search.h | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'misc') diff --git a/misc/hsearch.c b/misc/hsearch.c index 62f8ac9fee..c5c60b1317 100644 --- a/misc/hsearch.c +++ b/misc/hsearch.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Contributed by Ulrich Drepper This file is part of the GNU C Library. @@ -46,11 +46,12 @@ hcreate (nel) void -hdestroy () +__hdestroy () { hdestroy_r (&htab); } +weak_alias (__hdestroy, hdestroy) /* Make sure the table is freed if we want to free everything before exiting. */ -text_set_element (__libc_subfreeres, hdestroy); +text_set_element (__libc_subfreeres, __hdestroy); diff --git a/misc/search.h b/misc/search.h index 1cd4fdb9ef..2258ce9d3a 100644 --- a/misc/search.h +++ b/misc/search.h @@ -1,5 +1,5 @@ /* Declarations for System V style searching functions. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1998 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 @@ -90,6 +90,7 @@ extern ENTRY *hsearch __P ((ENTRY __item, ACTION __action)); extern int hcreate __P ((size_t __nel)); /* Destroy current internal hashing table. */ +extern void __hdestroy __P ((void)); extern void hdestroy __P ((void)); #ifdef __USE_GNU -- cgit 1.4.1