From 68a4bb90da440519abea3d72bbd78b3c9fdb9d01 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sun, 29 Mar 2009 10:58:24 -0700 Subject: queue: queue_generate_id() is not necessary for export. --- src/queue.c | 5 ++++- src/queue.h | 6 ------ 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/queue.c b/src/queue.c index 7cc110bc7..141222a80 100644 --- a/src/queue.c +++ b/src/queue.c @@ -20,7 +20,10 @@ #include "queue.h" #include "song.h" -unsigned +/** + * Generate a non-existing id number. + */ +static unsigned queue_generate_id(const struct queue *queue) { static unsigned cur = (unsigned)-1; diff --git a/src/queue.h b/src/queue.h index 7dca66406..9c7228fd8 100644 --- a/src/queue.h +++ b/src/queue.h @@ -229,12 +229,6 @@ queue_init(struct queue *queue, unsigned max_length); void queue_finish(struct queue *queue); -/** - * Generate a non-existing id number. - */ -unsigned -queue_generate_id(const struct queue *queue); - /** * Returns the order number following the specified one. This takes * end of queue and "repeat" mode into account. -- cgit v1.2.3