summaryrefslogtreecommitdiff
path: root/usr.bin/make/compat.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-06-17 14:34:12 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-06-17 14:34:12 +0000
commit93fa2e228c8792a5468e8d398b5bb6c290eecb73 (patch)
treec0ea5557fc5eeb30f54bbf940c06762e68e76895 /usr.bin/make/compat.c
parent73501d656ca05164437c542734297118885750b9 (diff)
This patch moves the definition of lists and list nodes to lst.h.
C is not well-suited for opaque data structures. Then it proceeds by removing a lot of non-sensical casts and white space. There are two motivations behind this change: * small functions like Lst_First can now be redefined as macros safely (otherwise, the cast would mean that you might write Lst_First(5) and find out about it rather late) * the size of the Lst data structure is exposed to user code. This will be used to allocate lists statically, instead of malloc/free them like crazy.
Diffstat (limited to 'usr.bin/make/compat.c')
0 files changed, 0 insertions, 0 deletions