Add prototypes, void in util/ego/share
authorGeorge Koehler <xkernigh@netscape.net>
Wed, 15 Nov 2017 21:29:27 +0000 (16:29 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Wed, 15 Nov 2017 22:19:56 +0000 (17:19 -0500)
commit9037d137f529ce2efed413892008672e5e6d9e57
treedf5fc71d3b92eeac4e4f8d45a4985a63f92fe4dc
parent5bbbaf4919d2b7dd518af4bbc7b19792fac92117
Add prototypes, void in util/ego/share

This uncovers a problem in il/il_aux.c: it passes 3 arguments to
getlines(), but the function expects 4 arguments.  I add FALSE as the
4th argument.  TRUE would fill in the list of mesregs.  IL uses
mesregs during phase 1, but this call to getlines() is in phase 2.
TRUE would leak memory unless I added a call to Ldeleteset(mesregs).
So I pass FALSE.

Functions passed to go() now have a `void *` parameter because
no_action() now takes a `void *`.
39 files changed:
util/ego/bo/bo.c
util/ego/cj/cj.c
util/ego/cs/cs.c
util/ego/cs/cs_elim.c
util/ego/cs/cs_profit.c
util/ego/cs/cs_profit.h
util/ego/il/il.c
util/ego/il/il1_cal.c
util/ego/il/il2_aux.c
util/ego/il/il_aux.c
util/ego/lv/lv.c
util/ego/ra/ra.c
util/ego/share/aux.c
util/ego/share/aux.h
util/ego/share/cset.c
util/ego/share/cset.h
util/ego/share/debug.c
util/ego/share/debug.h
util/ego/share/files.c
util/ego/share/files.h
util/ego/share/get.c
util/ego/share/get.h
util/ego/share/go.c
util/ego/share/go.h
util/ego/share/init_glob.c
util/ego/share/init_glob.h
util/ego/share/locals.c
util/ego/share/locals.h
util/ego/share/lset.c
util/ego/share/lset.h
util/ego/share/parser.c
util/ego/share/parser.h
util/ego/share/put.c
util/ego/share/put.h
util/ego/share/stack_chg.c
util/ego/share/stack_chg.h
util/ego/sp/sp.c
util/ego/sr/sr.c
util/ego/ud/ud.c