summaryrefslogtreecommitdiff
path: root/PACE
diff options
context:
space:
mode:
authorjoeh <joeh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-04 21:24:37 +0000
committerjoeh <joeh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-09-04 21:24:37 +0000
commitc59dd904881a6ab068360ff6ad8c99c623753718 (patch)
treeef65d6eaa0e2ee8def3952a1fc4cd47bd0ee5bc2 /PACE
parenta5a1e725e4fc50b53b9940cfc57be99e16dff042 (diff)
downloadATCD-c59dd904881a6ab068360ff6ad8c99c623753718.tar.gz
ChangeLogTag: Tue Sep 4 16:23:46 2001 Joe Hoffert <joeh@cs.wustl.edu>
Diffstat (limited to 'PACE')
-rw-r--r--PACE/ChangeLog6
-rw-r--r--PACE/tests/Cond_Var_Test.c2
-rw-r--r--PACE/tests/vxworks_stub.c5
3 files changed, 9 insertions, 4 deletions
diff --git a/PACE/ChangeLog b/PACE/ChangeLog
index 9473f1967c2..241f96681a2 100644
--- a/PACE/ChangeLog
+++ b/PACE/ChangeLog
@@ -1,3 +1,9 @@
+Tue Sep 4 16:23:46 2001 Joe Hoffert <joeh@cs.wustl.edu>
+
+ * tests/vxworks_stub.c:
+ * tests/Cond_Var_Test.c:
+ Rectified warnings about type of argc.
+
Tue Sep 4 15:26:46 2001 Joe Hoffert <joeh@cs.wustl.edu>
* tests/Cond_Var_Test.c:
diff --git a/PACE/tests/Cond_Var_Test.c b/PACE/tests/Cond_Var_Test.c
index fe6d0a646f1..c2f46c639f5 100644
--- a/PACE/tests/Cond_Var_Test.c
+++ b/PACE/tests/Cond_Var_Test.c
@@ -107,7 +107,7 @@ void *watch_count(void *idp)
int
main(int argc, char *argv[])
{
- unsigned int i;
+ int i;
pace_pthread_t threads[3];
pace_pthread_t pthread;
diff --git a/PACE/tests/vxworks_stub.c b/PACE/tests/vxworks_stub.c
index 9155ff19885..7ec9bf3f884 100644
--- a/PACE/tests/vxworks_stub.c
+++ b/PACE/tests/vxworks_stub.c
@@ -16,7 +16,6 @@
/* ===================================================================== */
# define main post_pace_main
-# define PACE_NEEDS_HUGE_THREAD_STACKSIZE 64000
# include /**/ <usrLib.h> /* for ::sp() */
# include /**/ "pace/pthread.h"
@@ -83,7 +82,7 @@ spa (FUNCPTR entry, ...)
ret = taskSpawn (argv[0], /* task name */
100, /* task priority */
VX_FP_TASK, /* task options */
- PACE_NEEDS_HUGE_THREAD_STACKSIZE, /* stack size */
+ PTHREAD_DEFAULT_STACK_SIZE, /* stack size */
entry, /* entry point */
argc, /* first argument to main () */
(int) argv, /* second argument to main () */
@@ -97,7 +96,7 @@ spa (FUNCPTR entry, ...)
}
int
-pace_main(unsigned int argc, char* argv[])
+pace_main(int argc, char* argv[])
{
/* Setup information for VxWorks emulation */
if (pacevx_vxworks_init() == ERROR)