summaryrefslogtreecommitdiff
path: root/src/queue.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-05 15:51:36 +0200
committerMichael Schroeder <mls@suse.de>2013-04-05 15:51:36 +0200
commit91d23d51236a02edd97c9a1f043dbd186210d6e4 (patch)
treea8acf4b7d7c220d45d39cd2ab4ecc390ee94b864 /src/queue.h
parent0aefaef40e841eeefc00f7f2c99215451fea9e6b (diff)
downloadlibsolv-91d23d51236a02edd97c9a1f043dbd186210d6e4.tar.gz
libsolv-91d23d51236a02edd97c9a1f043dbd186210d6e4.tar.bz2
libsolv-91d23d51236a02edd97c9a1f043dbd186210d6e4.zip
make queue_insertn more flexible
Yes, it's an API change, but I'm pretty sure that nobody other than the solver itself uses queue_insertn.
Diffstat (limited to 'src/queue.h')
-rw-r--r--src/queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue.h b/src/queue.h
index a80cd06..16f2cc6 100644
--- a/src/queue.h
+++ b/src/queue.h
@@ -114,7 +114,7 @@ extern void queue_free(Queue *q);
extern void queue_insert(Queue *q, int pos, Id id);
extern void queue_insert2(Queue *q, int pos, Id id1, Id id2);
-extern void queue_insertn(Queue *q, int pos, int n);
+extern void queue_insertn(Queue *q, int pos, int n, Id *elements);
extern void queue_delete(Queue *q, int pos);
extern void queue_delete2(Queue *q, int pos);
extern void queue_deleten(Queue *q, int pos, int n);