/*
- * Copyright 2005-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2005-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
return pqueue_peek(pq);
}
-pitem *pqueue_next(pitem **item)
+pitem *pqueue_next(piterator *item)
{
pitem *ret;
size_t pqueue_size(pqueue *pq)
{
pitem *item = pq->items;
- int count = 0;
+ size_t count = 0;
while (item != NULL) {
count++;