-ADDRESS alloc(nbytes)
-POS nbytes;
+ADDRESS alloc(POS nbytes)
{
register POS rbytes = round(nbytes + BYTESPERWORD, BYTESPERWORD);
}
}
-void addblok(reqd)
-POS reqd;
+void addblok(POS reqd)
{
if (stakbas != staktop) {
register STKPTR rndstak;
}
#ifdef DEBUG
-chkbptr(ptr)
-BLKPTR ptr;
+chkbptr(BLKPTR ptr)
{
int exf = 0;
register BLKPTR p = end;
#include "ctype.h"
+/* args.c */
extern int options(int argc, STRING *argv);
extern void setargs(STRING argi[]);
extern DOLPTR freeargs(DOLPTR blk);
extern void clearup(void);
extern DOLPTR useargs(void);
+/* blok.c */
+ADDRESS alloc(POS nbytes);
+extern void addblok(POS reqd);
+extern void free(void *ap); /* FIXME: rename sh_free */
+extern chkbptr(BLKPTR ptr);