forked from Imagelibrary/rtems
libtests/POSIX: Fix warnings and style.
This commit is contained in:
@@ -12,14 +12,13 @@
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
int
|
||||
main (void)
|
||||
int main(void)
|
||||
{
|
||||
int fd = 42;
|
||||
char buf[4];
|
||||
ssize_t len;
|
||||
|
||||
len = read (fd, &buf, 4);
|
||||
len = read(fd, &buf, 4);
|
||||
|
||||
return 0;
|
||||
return (len != 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user