2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>

* psxhdrs/sync01.c, psxhdrs/sync02.c: Let test() return values
	(avoid warnings).
This commit is contained in:
Ralf Corsepius
2011-10-12 04:21:57 +00:00
parent 077184fd50
commit 9ab1039db7
3 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/sync01.c, psxhdrs/sync02.c: Let test() return values
(avoid warnings).
* psxhdrs/time01.c, psxhdrs/time02.c, psxhdrs/time03.c,
psxhdrs/time04.c, psxhdrs/time05.c, psxhdrs/time06.c,
psxhdrs/time07.c, psxhdrs/time08.c, psxhdrs/time09.c,

View File

@@ -18,13 +18,15 @@
#include <unistd.h>
void test( void );
int test( void );
void test( void )
int test( void )
{
int fd;
int result;
fd = 4;
result = fsync( fd );
return result;
}

View File

@@ -18,13 +18,15 @@
#include <unistd.h>
void test( void );
int test( void );
void test( void )
int test( void )
{
int fd;
int result;
fd = 4;
result = fdatasync( fd );
return result;
}