Better ANSI C compatibility and portability:
authorcarl <cecodere@yahoo.ca>
Mon, 18 Feb 2019 16:39:05 +0000 (00:39 +0800)
committercarl <cecodere@yahoo.ca>
Mon, 18 Feb 2019 16:54:23 +0000 (00:54 +0800)
commit10717cc791cc789906d4a0ffed0406c0de739cf8
tree525c828a056a0b0b3a93dfd4c2bde5e155e1f430
parent42bbdec82d726919566dd067a04306fb6e217ac3
Better ANSI C compatibility and portability:
+ Addition of function prototypes and include files.
+ Change function definitions to ANSI C style.
- Remove support for generating K&R code.
- Remove mkstemp and replace by tmpnam (more portable but less safe)
21 files changed:
util/LLgen/src/LLgen.c
util/LLgen/src/LLgen.g
util/LLgen/src/Lpars.c
util/LLgen/src/alloc.c
util/LLgen/src/alloc.h [new file with mode: 0644]
util/LLgen/src/check.c
util/LLgen/src/compute.c
util/LLgen/src/extern.h
util/LLgen/src/gencode.c
util/LLgen/src/global.c
util/LLgen/src/io.h
util/LLgen/src/machdep.c
util/LLgen/src/main.c
util/LLgen/src/name.c
util/LLgen/src/reach.c
util/LLgen/src/savegram.c
util/LLgen/src/sets.c
util/LLgen/src/sets.h
util/LLgen/src/tokens.c
util/LLgen/src/tokens.g
util/LLgen/src/types.h