From 271766771fba3c180c208424ff20aa5e5215bbbc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 3 Nov 2003 19:13:38 +0000 Subject: Update. 2003-11-03 Ulrich Drepper * sysdeps/pthread/tst-timer.c (main): Initialize sigev2.sigev_value as well. --- nptl/ChangeLog | 5 +++++ nptl/sysdeps/pthread/tst-timer.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 0ebe4744bb..beb3212529 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2003-11-03 Ulrich Drepper + + * sysdeps/pthread/tst-timer.c (main): Initialize + sigev2.sigev_value as well. + 2003-10-15 Roland McGrath * sysdeps/pthread/configure.in: Barf if visibility attribute support diff --git a/nptl/sysdeps/pthread/tst-timer.c b/nptl/sysdeps/pthread/tst-timer.c index 54d6b6ae93..f2577b75cd 100644 --- a/nptl/sysdeps/pthread/tst-timer.c +++ b/nptl/sysdeps/pthread/tst-timer.c @@ -84,6 +84,9 @@ main (void) sigev2.sigev_notify = SIGEV_THREAD; sigev2.sigev_notify_function = notify_func1; sigev2.sigev_notify_attributes = NULL; + /* It is unnecessary to do the following but to set a good example + we do it anyhow. */ + sigev2.sigev_value = 0; setvbuf (stdout, 0, _IOLBF, 0); -- cgit v1.2.3