sh: finish ansifying and fix up for other compilers
authorAlan Cox <alan@linux.intel.com>
Mon, 11 May 2015 20:32:26 +0000 (21:32 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 11 May 2015 20:32:26 +0000 (21:32 +0100)
commit70979ecaff3efa046309d426b7469b992e110370
tree10ccaa657f6e44eb86ec78345d3cbf780937b6b6
parent520d393a5cade9ae828c8c341ec338322c0808f6
sh: finish ansifying and fix up for other compilers

There are still a fair number of FIXMEs to address and probably
it would be worth looking at later versions of sh (2.11BSD etc)
for any fixes there.

Running size (not that it's exactly runnable yet) is about 28K on
Z80 and 6809, and a bit more (33K or so) on 6502.
22 files changed:
Applications/V7/cmd/sh/Makefile.6502 [new file with mode: 0644]
Applications/V7/cmd/sh/Makefile.6809
Applications/V7/cmd/sh/Makefile.z80 [new file with mode: 0644]
Applications/V7/cmd/sh/args.c
Applications/V7/cmd/sh/blok.c
Applications/V7/cmd/sh/cmd.c
Applications/V7/cmd/sh/defs.h
Applications/V7/cmd/sh/expand.c
Applications/V7/cmd/sh/fault.c
Applications/V7/cmd/sh/glob.c
Applications/V7/cmd/sh/io.c
Applications/V7/cmd/sh/macro.c
Applications/V7/cmd/sh/main.c
Applications/V7/cmd/sh/mode.h
Applications/V7/cmd/sh/msg.c
Applications/V7/cmd/sh/name.c
Applications/V7/cmd/sh/name.h
Applications/V7/cmd/sh/service.c
Applications/V7/cmd/sh/stak.c
Applications/V7/cmd/sh/stak.h
Applications/V7/cmd/sh/word.c
Applications/V7/cmd/sh/xec.c