summaryrefslogtreecommitdiffstats
path: root/lf_fifo.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2009-11-07 17:14:28 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2009-11-07 17:14:28 +0100
commit67f57ab2fb7932b1c43ad669e846b425f6fa1f2b (patch)
tree95e6fc348b067c8ea03c6c3f35a0284c97ddc76f /lf_fifo.c
parent9c483a02cb2c8d3c67c3cdd1f34630191fa55c1d (diff)
downloadlock_free-67f57ab2fb7932b1c43ad669e846b425f6fa1f2b.zip
lock_free-67f57ab2fb7932b1c43ad669e846b425f6fa1f2b.tar.gz
push_tail and pop_head goes push and pop
Diffstat (limited to 'lf_fifo.c')
-rw-r--r--lf_fifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lf_fifo.c b/lf_fifo.c
index f13045f..ba71847 100644
--- a/lf_fifo.c
+++ b/lf_fifo.c
@@ -36,7 +36,7 @@ void lf_fifo_init( lf_fifo_t *q ) {
}
/* push a node at the tail of q */
-void lf_fifo_push_tail( lf_fifo_t *q, pointer_t *node ) {
+void lf_fifo_push( lf_fifo_t *q, pointer_t *node ) {
pointer_t tail;
pointer_t last;
pointer_t tmp;
@@ -80,7 +80,7 @@ void lf_fifo_push_tail( lf_fifo_t *q, pointer_t *node ) {
}
/* pop a node from the head of q */
-pointer_t* pop_head( lf_fifo_t *q ) {
+pointer_t* pop( lf_fifo_t *q ) {
pointer_t head;
pointer_t tail;
pointer_t tmp;