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.
This commit is contained in:
Ulrich Drepper 2001-08-23 04:17:06 +00:00
parent 131fd00f9e
commit 5cd6f8f735
2 changed files with 10 additions and 1 deletions

View File

@ -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> 2001-08-22 Roland McGrath <roland@frob.com>
* sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up * sysdeps/generic/bits/sigaction.h (struct sigaction): Fix up

View File

@ -1,5 +1,5 @@
/* Skeleton for test programs. /* 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. This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@ -64,6 +64,7 @@ struct temp_name_list
/* Add temporary files in list. */ /* Add temporary files in list. */
static void static void
__attribute__ ((unused))
add_temp_file (const char *name) add_temp_file (const char *name)
{ {
struct temp_name_list *newp struct temp_name_list *newp