summaryrefslogtreecommitdiff
path: root/solenv/bin
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-03-06 16:34:16 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-11 09:36:54 +0000
commit4154006248513f488b4ca27345a721b9216ae264 (patch)
treebffde3494ba74e31d2ac3684df1c6c34a04f230d /solenv/bin
parentb977c27383b36f511bcedc8cd48c160a1c0be514 (diff)
build concat-deps as ordinary executable
Change-Id: I6404472040f38c14ec7ca4a2c51be0d2f7f8199a Reviewed-on: https://gerrit.libreoffice.org/2659 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'solenv/bin')
-rw-r--r--solenv/bin/concat-deps.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 5550897a7f92..575ad7824181 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -209,7 +209,7 @@ void* data = NULL;
* this is a simplified implementation that
* is _not_ thread safe.
*/
-struct pool* pool_create(int size_elem, int flags, int primary, int secondary)
+struct pool* pool_create(int size_elem, int primary, int secondary)
{
struct pool* pool;
@@ -482,7 +482,7 @@ struct hash* hash;
if(hash)
{
hash->elems_pool = pool_create(sizeof(struct hash_elem),
- 0, size, size << 1);
+ size, size << 1);
if(!hash->elems_pool)
{
hash_destroy(hash);
@@ -499,7 +499,7 @@ unsigned int hashed;
struct hash_elem* hash_elem;
struct hash_elem* next;
struct hash_elem** array;
-int i;
+unsigned int i;
hash->size = (old_size << 1) + 1;
/* we really should avoid to get there... so print a message to alert of the condition */
@@ -556,6 +556,7 @@ unsigned int hashed;
struct hash_elem* hash_elem;
int cost = 0;
+ (void) cost;
hashed = hash_compute(hash, key, key_len);
#ifdef HASH_STAT
hash->stored += 1;