(makeqt): Unused, remove.
This commit is contained in:
parent
e2f3f6839e
commit
aac6312c74
2 changed files with 0 additions and 14 deletions
|
@ -62,16 +62,3 @@ initque(struct qelem *p)
|
||||||
p->q_forw = p;
|
p->q_forw = p;
|
||||||
p->q_back = p;
|
p->q_back = p;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct qelem *
|
|
||||||
makeqt(int nelem)
|
|
||||||
{
|
|
||||||
struct qelem *table;
|
|
||||||
struct qelem *qp;
|
|
||||||
int i;
|
|
||||||
|
|
||||||
table = malloc(sizeof(*table) * nelem);
|
|
||||||
for (i = 0, qp = table; i < nelem; i++, qp++)
|
|
||||||
initque(qp);
|
|
||||||
return table;
|
|
||||||
}
|
|
||||||
|
|
|
@ -44,6 +44,5 @@ struct qelem {
|
||||||
void insque(struct qelem *p, struct qelem *q);
|
void insque(struct qelem *p, struct qelem *q);
|
||||||
void remque(struct qelem *p);
|
void remque(struct qelem *p);
|
||||||
void initque(struct qelem *p);
|
void initque(struct qelem *p);
|
||||||
struct qelem *makeqt(int nelem);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue