summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-02 16:26:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-02 16:26:28 +0000
commit892a536da99c2b6bf913b59ad36501d2d3c68d45 (patch)
tree4febc0b3720fef3db91ffe6015edd8d52ffea4c4 /testsuites/psxtests
parentdisabled posix api for the no_cpu-rtems configuration in configure.in (diff)
downloadrtems-892a536da99c2b6bf913b59ad36501d2d3c68d45.tar.bz2
initialized variables or removed unused variables to remove warnings
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r--testsuites/psxtests/psxhdrs/proc11.c1
-rw-r--r--testsuites/psxtests/psxhdrs/proc14.c4
-rw-r--r--testsuites/psxtests/psxhdrs/signal22.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/testsuites/psxtests/psxhdrs/proc11.c b/testsuites/psxtests/psxhdrs/proc11.c
index 6bb9765c5e..5cc3476022 100644
--- a/testsuites/psxtests/psxhdrs/proc11.c
+++ b/testsuites/psxtests/psxhdrs/proc11.c
@@ -19,7 +19,6 @@
void test( void )
{
char loginnamebuffer[ LOGIN_NAME_MAX ];
- char *loginname;
int result;
result = getlogin_r( loginnamebuffer, LOGIN_NAME_MAX );
diff --git a/testsuites/psxtests/psxhdrs/proc14.c b/testsuites/psxtests/psxhdrs/proc14.c
index 3c6478da92..5460cd1768 100644
--- a/testsuites/psxtests/psxhdrs/proc14.c
+++ b/testsuites/psxtests/psxhdrs/proc14.c
@@ -17,8 +17,8 @@
void test( void )
{
- pid_t pid;
- pid_t pgid;
+ pid_t pid = 0;
+ pid_t pgid = 0;
int result;
result = setpgid( pid, pgid );
diff --git a/testsuites/psxtests/psxhdrs/signal22.c b/testsuites/psxtests/psxhdrs/signal22.c
index fb6a399738..967aea18d2 100644
--- a/testsuites/psxtests/psxhdrs/signal22.c
+++ b/testsuites/psxtests/psxhdrs/signal22.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <signal.h>
+#include <unistd.h>
void test( void )
{