aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--math/test-tgmath.c4
-rw-r--r--nptl_db/td_ta_clear_event.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 714c3bb874..cc6917e91f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-04 Ulrich Drepper <drepper@redhat.com>
+
+ * math/test-tgmath.c: Declare compile_testl inly if we will define it.
+
2004-04-03 Ulrich Drepper <drepper@redhat.com>
* sysdeps/powerpc/powerpc64/ffsll.c: New file.
diff --git a/math/test-tgmath.c b/math/test-tgmath.c
index 24474ce254..f8453d0835 100644
--- a/math/test-tgmath.c
+++ b/math/test-tgmath.c
@@ -1,5 +1,5 @@
/* Test compilation of tgmath macros.
- Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com> and
Ulrich Drepper <drepper@redhat.com>, 2001.
@@ -30,7 +30,9 @@
static void compile_test (void);
static void compile_testf (void);
+#ifndef NO_LONG_DOUBLE
static void compile_testl (void);
+#endif
float fx;
double dx;
diff --git a/nptl_db/td_ta_clear_event.c b/nptl_db/td_ta_clear_event.c
index 99fa63c734..7a2850c4ea 100644
--- a/nptl_db/td_ta_clear_event.c
+++ b/nptl_db/td_ta_clear_event.c
@@ -29,7 +29,7 @@ td_ta_clear_event (ta_arg, event)
td_thragent_t *const ta = (td_thragent_t *) ta_arg;
td_err_e err;
psaddr_t eventmask = 0;
- void *copy;
+ void *copy = NULL;
LOG ("td_ta_clear_event");