forked from Imagelibrary/rtems
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:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user