19 |
|
#include <ctype.h> |
20 |
|
|
21 |
|
OBJREC *objblock[MAXOBJBLK]; /* our objects */ |
22 |
< |
int nobjects = 0; /* # of objects */ |
22 |
> |
OBJECT nobjects = 0; /* # of objects */ |
23 |
|
|
24 |
|
|
25 |
|
readobj(input) /* read in an object file or stream */ |
105 |
|
error(USER, errmsg); |
106 |
|
} |
107 |
|
objp->otype = objptr(alias)->otype; |
108 |
< |
bcopy(&objptr(alias)->oargs, &objp->oargs, sizeof(FUNARGS)); |
108 |
> |
copystruct(&objp->oargs, &objptr(alias)->oargs); |
109 |
|
} else if (readfargs(&objp->oargs, fp) < 0) { |
110 |
|
sprintf(errmsg, "(%s): bad arguments", name); |
111 |
|
objerror(objp, USER, errmsg); |