]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 23 Aug 2001 04:17:06 +0000 (04:17 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 23 Aug 2001 04:17:06 +0000 (04:17 +0000)
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.

ChangeLog
test-skeleton.c

index 1d74d9a1493b5551e72696574e2f30165e3c2cc8..2daef263e907b393b0b7d5fda8427d4c695e7617 100644 (file)
--- 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
index bb02925dc96789abaebf8326adde685ef2e838d4..c1fa96c22fd3c630856760415c8d80c45d67b89e 100644 (file)
@@ -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