diff options
author | Michael Schroeder <mls@suse.de> | 2013-04-05 15:51:36 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-04-05 15:51:36 +0200 |
commit | 91d23d51236a02edd97c9a1f043dbd186210d6e4 (patch) | |
tree | a8acf4b7d7c220d45d39cd2ab4ecc390ee94b864 /src/queue.h | |
parent | 0aefaef40e841eeefc00f7f2c99215451fea9e6b (diff) | |
download | libsolv-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.h | 2 |
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); |