aboutsummaryrefslogtreecommitdiffstats
path: root/src/queue.c
diff options
context:
space:
mode:
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;