summaryrefslogtreecommitdiffhomepage
path: root/ir/adt
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-06-27 01:01:19 +0200
committerMatthias Braun <matze@braunis.de>2016-06-27 03:58:57 +0200
commit78eca09667c7bb0931f84b9ff8205972b7698c3e (patch)
treebe3e7797801c3ecba78f2df43bd2ff53d851dc6b /ir/adt
parent23a1c4ff71a85e3c62607eb20ebd490ecd18a729 (diff)
pdeq: Remove pointless return value from pdeq_put[lr]()
Diffstat (limited to 'ir/adt')
-rw-r--r--ir/adt/pdeq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ir/adt/pdeq.c b/ir/adt/pdeq.c
index f9f9271..1a91a69 100644
--- a/ir/adt/pdeq.c
+++ b/ir/adt/pdeq.c
@@ -150,7 +150,7 @@ size_t pdeq_len(pdeq const *dq)
return n;
}
-pdeq *pdeq_putr(pdeq *dq, void const *x)
+void pdeq_putr(pdeq *dq, void const *x)
{
VRFY(dq);
@@ -180,10 +180,9 @@ pdeq *pdeq_putr(pdeq *dq, void const *x)
rdq->data[n] = x;
VRFY(dq);
- return dq;
}
-pdeq *pdeq_putl(pdeq *dq, void const *x)
+void pdeq_putl(pdeq *dq, void const *x)
{
VRFY(dq);
@@ -215,7 +214,6 @@ pdeq *pdeq_putl(pdeq *dq, void const *x)
ldq->p = p;
VRFY(dq);
- return dq;
}
void *pdeq_getr(pdeq *dq)