summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-23 04:17:06 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-23 04:17:06 +0000
commit5cd6f8f73519ba7bf6c702c2d244001b48b6f0a0 (patch)
treee0afd419f61eac9d7fee9bcb6a3405eb4564053a
parent131fd00f9e6ccf306ee3a8ce081f7fe03bb85c6e (diff)
downloadglibc-5cd6f8f73519ba7bf6c702c2d244001b48b6f0a0.tar.gz
Update.
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.
-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