summaryrefslogtreecommitdiff
path: root/PACE
diff options
context:
space:
mode:
authorjoeh <joeh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-04 14:16:59 +0000
committerjoeh <joeh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-04 14:16:59 +0000
commit011e0a9f0a68e6e0c90d3f936afc7857f089a32c (patch)
treef6a591e20db669258006c1f0565c53bd721617b5 /PACE
parent761aecbada5f844ea63f42b5c9144d0828975140 (diff)
downloadATCD-011e0a9f0a68e6e0c90d3f936afc7857f089a32c.tar.gz
ChangeLogTag: Tue Sep 4 09:15:00 2001 Joe Hoffert <joeh@cs.wustl.edu>
Diffstat (limited to 'PACE')
-rw-r--r--PACE/ChangeLog5
-rw-r--r--PACE/tests/Pthreads_Test.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog
index 778e3720c58..ee376cca889 100644
--- a/PACE/ChangeLog
+++ b/PACE/ChangeLog
@@ -1,3 +1,8 @@
+Tue Sep 4 09:15:00 2001 Joe Hoffert <joeh@cs.wustl.edu>
+
+ * tests/Pthreads_Test.c:
+ Moved PACE_UNUSED_ARG to after declaration of variables.
+
Tue Sep 4 08:55:02 2001 Joe Hoffert <joeh@cs.wustl.edu>
* tests/Cond_Var_Test.c:
diff --git a/PACE/tests/Pthreads_Test.c b/PACE/tests/Pthreads_Test.c
index 055c5af3e25..9a34a330fbe 100644
--- a/PACE/tests/Pthreads_Test.c
+++ b/PACE/tests/Pthreads_Test.c
@@ -71,15 +71,15 @@ join_point (int func1_times, int func2_times)
int
main (int argc, char **argv)
{
- PACE_UNUSED_ARG (argc);
- PACE_UNUSED_ARG (argv);
-
/* Test creating a thread. */
pace_pthread_t thread1;
pace_pthread_t thread2;
int func1_ret = 0;
int func2_ret = 0;
+ PACE_UNUSED_ARG (argc);
+ PACE_UNUSED_ARG (argv);
+
pace_pthread_create(&thread1,
NULL,
(void *) func1,