about summary refs log tree commit diff
path: root/test-skeleton.c
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 /test-skeleton.c
parent131fd00f9e6ccf306ee3a8ce081f7fe03bb85c6e (diff)
downloadglibc-5cd6f8f73519ba7bf6c702c2d244001b48b6f0a0.tar.gz
glibc-5cd6f8f73519ba7bf6c702c2d244001b48b6f0a0.tar.xz
glibc-5cd6f8f73519ba7bf6c702c2d244001b48b6f0a0.zip
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.
Diffstat (limited to 'test-skeleton.c')
-rw-r--r--test-skeleton.c3
1 files changed, 2 insertions, 1 deletions
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