libtests/POSIX: Fix warnings and style.

This commit is contained in:
Joel Sherrill
2018-08-10 08:23:01 -05:00
parent b3693f5d6d
commit 382d6537df
46 changed files with 140 additions and 148 deletions

View File

@@ -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);
}