summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests
diff options
context:
space:
mode:
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 )
{