Next batch...

This commit is contained in:
Manoel Trapier
2013-03-13 18:56:03 +01:00
committed by Manoël Trapier
parent c5bfc89269
commit 41f96d5169
85 changed files with 1138 additions and 1727 deletions

View File

@@ -7,21 +7,17 @@
#include "../share/alloc.h"
#include "cs.h"
occur_p newoccur(l1, l2, b)
line_p l1, l2;
bblock_p b;
occur_p newoccur(line_p l1, line_p l2, bblock_p b)
{
/* Allocate a new struct occur and initialize it. */
register occur_p rop;
occur_p rop;
rop = (occur_p) newcore(sizeof(struct occur));
rop->oc_lfirst = l1; rop->oc_llast = l2; rop->oc_belongs = b;
return rop;
}
oldoccur(ocp)
occur_p ocp;
void oldoccur(occur_p ocp)
{
oldcore((char *) ocp, sizeof(struct occur));
}
@@ -31,8 +27,7 @@ avail_p newavail()
return (avail_p) newcore(sizeof(struct avail));
}
oldavail(avp)
avail_p avp;
void oldavail(avail_p avp)
{
oldcore((char *) avp, sizeof(struct avail));
}
@@ -42,8 +37,7 @@ entity_p newentity()
return (entity_p) newcore(sizeof(struct entity));
}
oldentity(enp)
entity_p enp;
void oldentity(entity_p enp)
{
oldcore((char *) enp, sizeof(struct entity));
}