summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--test-skeleton.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1d74d9a149..2daef263e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-08-22  Ulrich Drepper  <drepper@redhat.com>
+
+	* test-skeleton.c (add_temp_file): Add __attribute__ ((unused)) to
+	avoid warnings.
+
+	* dlfcn/tst-dladdr.c (do_test): Get address of ref1 using
+	DL_LOOKUP_ADDRESS.
+
 2001-08-22  Roland McGrath  <roland@frob.com>
 
 	* sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up
diff --git a/test-skeleton.c b/test-skeleton.c
index bb02925dc9..c1fa96c22f 100644
--- a/test-skeleton.c
+++ b/test-skeleton.c
@@ -1,5 +1,5 @@
 /* Skeleton for test programs.
-   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -64,6 +64,7 @@ struct temp_name_list
 
 /* Add temporary files in list.  */
 static void
+__attribute__ ((unused))
 add_temp_file (const char *name)
 {
   struct temp_name_list *newp