queue: queue_generate_id() is not necessary for export.
This commit is contained in:
		
				
					committed by
					
						
						Max Kellermann
					
				
			
			
				
	
			
			
			
						parent
						
							ed96db3fae
						
					
				
				
					commit
					68a4bb90da
				
			@@ -20,7 +20,10 @@
 | 
				
			|||||||
#include "queue.h"
 | 
					#include "queue.h"
 | 
				
			||||||
#include "song.h"
 | 
					#include "song.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned
 | 
					/**
 | 
				
			||||||
 | 
					 * Generate a non-existing id number.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					static unsigned
 | 
				
			||||||
queue_generate_id(const struct queue *queue)
 | 
					queue_generate_id(const struct queue *queue)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	static unsigned cur = (unsigned)-1;
 | 
						static unsigned cur = (unsigned)-1;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -229,12 +229,6 @@ queue_init(struct queue *queue, unsigned max_length);
 | 
				
			|||||||
void
 | 
					void
 | 
				
			||||||
queue_finish(struct queue *queue);
 | 
					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
 | 
					 * Returns the order number following the specified one.  This takes
 | 
				
			||||||
 * end of queue and "repeat" mode into account.
 | 
					 * end of queue and "repeat" mode into account.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user