ALIGNBYTES and ALIGN() are now defined in machine/param.h. Their (fairly
bogus) definitions here are no longer needed.
This commit is contained in:
parent
03f5ee0f24
commit
7f2cf51c4e
@ -167,9 +167,7 @@ newhashent(name, h)
|
||||
register struct hashent *hp;
|
||||
register char *m;
|
||||
|
||||
#define ALIGNBYTES 4
|
||||
m = poolalloc(sizeof(*hp) + ALIGNBYTES);
|
||||
#define ALIGN(x) x
|
||||
hp = (struct hashent *)ALIGN(m);
|
||||
hp->h_name = name;
|
||||
hp->h_hash = h;
|
||||
|
Loading…
Reference in New Issue
Block a user