Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 3 Nov 2003 19:13:38 +0000 (19:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 3 Nov 2003 19:13:38 +0000 (19:13 +0000)
2003-11-03  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/tst-timer.c (main): Initialize
sigev2.sigev_value as well.

nptl/ChangeLog
nptl/sysdeps/pthread/tst-timer.c

index 0ebe474..beb3212 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-03  Ulrich Drepper  <drepper@redhat.com>
+
+       * sysdeps/pthread/tst-timer.c (main): Initialize
+       sigev2.sigev_value as well.
+
 2003-10-15  Roland McGrath  <roland@redhat.com>
 
        * sysdeps/pthread/configure.in: Barf if visibility attribute support
index 54d6b6a..f2577b7 100644 (file)
@@ -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);