about summary refs log tree commit diff
path: root/misc/hsearch.c
diff options
context:
space:
mode:
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);