summary refs log tree commit diff
path: root/misc/hsearch.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-15 10:29:49 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-15 10:29:49 +0000
commitc756c71c24a3ba3fb72bcc651d03d99df274b2d2 (patch)
treecd0d3e16a3be0311c71b11106bf71762b146b957 /misc/hsearch.c
parenta3a4a74e6ad85a4c710a335b0ab6eaab3e355a19 (diff)
downloadglibc-c756c71c24a3ba3fb72bcc651d03d99df274b2d2.tar.gz
glibc-c756c71c24a3ba3fb72bcc651d03d99df274b2d2.tar.xz
glibc-c756c71c24a3ba3fb72bcc651d03d99df274b2d2.zip
Update.
1998-06-14  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* 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  <schwab@issan.informatik.uni-dortmund.de>

	* 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  <schwab@issan.informatik.uni-dortmund.de>

	* manual/llio.texi: Fix spelling.
	* manual/sysinfo.texi: Fix spelling.

1998-06-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* 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  <schwab@issan.informatik.uni-dortmund.de>

	* string/bits/string2.h (strcmp): Add missing parens around macro
	parameters.
Diffstat (limited to 'misc/hsearch.c')
-rw-r--r--misc/hsearch.c7
1 files changed, 4 insertions, 3 deletions
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 <drepper@gnu.ai.mit.edu>
    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);