aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2009-03-29 10:58:24 -0700
committerMax Kellermann <max@duempel.org>2009-03-30 19:21:41 +0200
commit68a4bb90da440519abea3d72bbd78b3c9fdb9d01 (patch)
tree287f858acde949f070b9feaa49f75d17b4cb758d /src/queue.c
parented96db3faecfdc8db8c93776b75864d03eae72d6 (diff)
downloadmpd-68a4bb90da440519abea3d72bbd78b3c9fdb9d01.tar.gz
mpd-68a4bb90da440519abea3d72bbd78b3c9fdb9d01.tar.xz
mpd-68a4bb90da440519abea3d72bbd78b3c9fdb9d01.zip
queue: queue_generate_id() is not necessary for export.
Diffstat (limited to 'src/queue.c')
-rw-r--r--src/queue.c5
1 files changed, 4 insertions, 1 deletions
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;