summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-03-05 15:49:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-03-05 15:49:39 +0000
commit8a41da4108046ea61ed20f92083af337d5e27775 (patch)
treec67ca82e64e9b03dfb3e0932ed43556c23c337bf
parent2004-03-05 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-8a41da4108046ea61ed20f92083af337d5e27775.tar.bz2
2004-03-05 Joel Sherrill <joel@OARcorp.com>
* psxmsgq01/init.c, psxtimer/psxtimer.c: Eliminate warning from previous patch.
-rw-r--r--c/src/tests/psxtests/ChangeLog5
-rw-r--r--c/src/tests/psxtests/psxmsgq01/init.c2
-rw-r--r--c/src/tests/psxtests/psxtimer/psxtimer.c2
3 files changed, 8 insertions, 1 deletions
diff --git a/c/src/tests/psxtests/ChangeLog b/c/src/tests/psxtests/ChangeLog
index 04ea1bb1fc..2d7931acd0 100644
--- a/c/src/tests/psxtests/ChangeLog
+++ b/c/src/tests/psxtests/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-05 Joel Sherrill <joel@OARcorp.com>
+
+ * psxmsgq01/init.c, psxtimer/psxtimer.c: Eliminate warning from
+ previous patch.
+
2004-02-26 Sébastien Barré <sbarre@sdelcc.com>
PR 582/core
diff --git a/c/src/tests/psxtests/psxmsgq01/init.c b/c/src/tests/psxtests/psxmsgq01/init.c
index 85866bc0c2..9aa65868db 100644
--- a/c/src/tests/psxtests/psxmsgq01/init.c
+++ b/c/src/tests/psxtests/psxmsgq01/init.c
@@ -1004,8 +1004,10 @@ void verify_with_threads()
int status;
pthread_t id;
Test_Message_t *ptr;
+#if 0
unsigned int priority;
char message[100];
+#endif
#if 0
diff --git a/c/src/tests/psxtests/psxtimer/psxtimer.c b/c/src/tests/psxtests/psxtimer/psxtimer.c
index ee217523af..145207308c 100644
--- a/c/src/tests/psxtests/psxtimer/psxtimer.c
+++ b/c/src/tests/psxtests/psxtimer/psxtimer.c
@@ -328,7 +328,7 @@ void *POSIX_Init (
params_c.period.tv_nsec = 000000000; /* nanoseconds */
params_c.signo = SIGALRM;
if (pthread_create (&tc, &attr, task_c, &params_c) != 0) {
- perror ("Error in trhead create for task c\n");
+ perror ("Error in thread create for task c\n");
}