summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/termios
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxhdrs/termios')
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/cfgetispeed.c4
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/cfgetospeed.c4
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/cfsetispeed.c4
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/cfsetospeed.c4
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/tcdrain.c0
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/tcflow.c0
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/tcflush.c0
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/tcgetattr.c4
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/tcgetsid.c0
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/tcsendbreak.c0
-rw-r--r--[-rwxr-xr-x]testsuites/psxtests/psxhdrs/termios/tcsetattr.c4
11 files changed, 12 insertions, 12 deletions
diff --git a/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c b/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c
index e98a28179e..0c8d304a71 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c
+++ b/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c
@@ -40,11 +40,11 @@ int test( void );
int test( void )
{
- struct termios term;
+ struct termios term = { 0 };
speed_t rate;
rate = cfgetispeed(&term);
(void) rate;
return 0;
-} \ No newline at end of file
+}
diff --git a/testsuites/psxtests/psxhdrs/termios/cfgetospeed.c b/testsuites/psxtests/psxhdrs/termios/cfgetospeed.c
index b326a78378..4d2e23ed50 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/cfgetospeed.c
+++ b/testsuites/psxtests/psxhdrs/termios/cfgetospeed.c
@@ -40,11 +40,11 @@ int test( void );
int test( void )
{
- struct termios term;
+ struct termios term = { 0 };
speed_t rate;
rate = cfgetospeed(&term);
(void) rate;
return 0;
-} \ No newline at end of file
+}
diff --git a/testsuites/psxtests/psxhdrs/termios/cfsetispeed.c b/testsuites/psxtests/psxhdrs/termios/cfsetispeed.c
index b73dbffce1..0f8ddfff57 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/cfsetispeed.c
+++ b/testsuites/psxtests/psxhdrs/termios/cfsetispeed.c
@@ -41,10 +41,10 @@ int test( void );
int test( void )
{
int result;
- struct termios term;
+ struct termios term = { 0 };
speed_t speed = B0;
result = cfsetispeed(&term, speed);
return result;
-} \ No newline at end of file
+}
diff --git a/testsuites/psxtests/psxhdrs/termios/cfsetospeed.c b/testsuites/psxtests/psxhdrs/termios/cfsetospeed.c
index 8377fc6e26..8d5404c954 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/cfsetospeed.c
+++ b/testsuites/psxtests/psxhdrs/termios/cfsetospeed.c
@@ -41,10 +41,10 @@ int test( void );
int test( void )
{
int result;
- struct termios term;
+ struct termios term = { 0 };
speed_t speed = B0;
result = cfsetospeed(&term, speed);
return result;
-} \ No newline at end of file
+}
diff --git a/testsuites/psxtests/psxhdrs/termios/tcdrain.c b/testsuites/psxtests/psxhdrs/termios/tcdrain.c
index 1de8862f65..1de8862f65 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/tcdrain.c
+++ b/testsuites/psxtests/psxhdrs/termios/tcdrain.c
diff --git a/testsuites/psxtests/psxhdrs/termios/tcflow.c b/testsuites/psxtests/psxhdrs/termios/tcflow.c
index 5b7d1dab39..5b7d1dab39 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/tcflow.c
+++ b/testsuites/psxtests/psxhdrs/termios/tcflow.c
diff --git a/testsuites/psxtests/psxhdrs/termios/tcflush.c b/testsuites/psxtests/psxhdrs/termios/tcflush.c
index 4beccb89d5..4beccb89d5 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/tcflush.c
+++ b/testsuites/psxtests/psxhdrs/termios/tcflush.c
diff --git a/testsuites/psxtests/psxhdrs/termios/tcgetattr.c b/testsuites/psxtests/psxhdrs/termios/tcgetattr.c
index d00336b214..843b7c8281 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/tcgetattr.c
+++ b/testsuites/psxtests/psxhdrs/termios/tcgetattr.c
@@ -42,9 +42,9 @@ int test( void )
{
int result;
int fildes = 0;
- struct termios term;
+ struct termios term = { 0 };
result = tcgetattr(fildes, &term);
return result;
-} \ No newline at end of file
+}
diff --git a/testsuites/psxtests/psxhdrs/termios/tcgetsid.c b/testsuites/psxtests/psxhdrs/termios/tcgetsid.c
index 8700742166..8700742166 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/tcgetsid.c
+++ b/testsuites/psxtests/psxhdrs/termios/tcgetsid.c
diff --git a/testsuites/psxtests/psxhdrs/termios/tcsendbreak.c b/testsuites/psxtests/psxhdrs/termios/tcsendbreak.c
index 7ef4de0b7f..7ef4de0b7f 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/tcsendbreak.c
+++ b/testsuites/psxtests/psxhdrs/termios/tcsendbreak.c
diff --git a/testsuites/psxtests/psxhdrs/termios/tcsetattr.c b/testsuites/psxtests/psxhdrs/termios/tcsetattr.c
index e2bd6980a9..da0e0ea62d 100755..100644
--- a/testsuites/psxtests/psxhdrs/termios/tcsetattr.c
+++ b/testsuites/psxtests/psxhdrs/termios/tcsetattr.c
@@ -43,9 +43,9 @@ int test( void )
int result;
int fildes = 0;
int optional_actions = 0;
- struct termios term;
+ struct termios term = { 0 };
result = tcsetattr(fildes, optional_actions, &term);
return result;
-} \ No newline at end of file
+}