Move file I/O related functions out of nasmlib.c
commitbdae10bee2ec613e8765235ba17f3383693e3d73
authorH. Peter Anvin <hpa@zytor.com>
Tue, 8 Mar 2016 09:22:13 +0000 (8 01:22 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 8 Mar 2016 09:22:13 +0000 (8 01:22 -0800)
tree8c2e805949fe96388089abb2c26fe0827d6cd069
parent1917f45ec20fc6df405bcf2fcba5b1660e1b22d7
Move file I/O related functions out of nasmlib.c

nasmlib.[ch] desperately need to be broken up into smaller chunks.

Break file I/O related functions out into file.c, so at least we can
avoid the problem with P_WAIT being defined in <io.h> on Windows but
is also used as a prefix constant in "nasm.h".

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Makefile.in
Mkfiles/msvc.mak
Mkfiles/netware.mak
Mkfiles/openwcom.mak
Mkfiles/owlinux.mak
file.c [new file with mode: 0644]
nasm.h
nasmlib.c
nasmlib.h
rdoff/Makefile.in