[PATCH 0/2] OS/2 patches

2019-01-16 Thread KO Myung-Hun
Hi/2. These are the patches for OS/2. Review, please... [PATCH 1/2] fcntl: Remove mis-placed ';' [PATCH 2/2] mknod: mknod() needs unistd.h on OS/2 kLIBC

[PATCH 1/2] fcntl: Remove mis-placed ';'

2019-01-16 Thread KO Myung-Hun
This fixes the compilation error. * lib/fcntl.c (klibc_fcntl): Remove mis-placed ';'. --- lib/fcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fcntl.c b/lib/fcntl.c index f602fad62..51f62ef78 100644 --- a/lib/fcntl.c +++ b/lib/fcntl.c @@ -545,7 +545,7 @@ rpl_fcntl_D

[PATCH 2/2] mknod: mknod() needs unistd.h on OS/2 kLIBC

2019-01-16 Thread KO Myung-Hun
On OS/2 kLIBC, mknod() is declared in unistd.h. This fixes 'implicit declaration of function' compilation warning. * lib/mknod.c: Include unistd.h. --- lib/mknod.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mknod.c b/lib/mknod.c index dbbfe29c4..1d4b490ca 100644 --- a/lib/mknod.c +