summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-04-11 18:33:27 +0200
committerTor Andersson <tor@ghostscript.com>2010-04-11 18:33:27 +0200
commitd7a4073f2a86996c99e73e054dbb7b92fa333275 (patch)
tree7268ee6ddbd872044d397b0c8a8253831094d26d
parente443e4a930481ea7c8bd83179481c4b0c707df13 (diff)
downloadmupdf-d7a4073f2a86996c99e73e054dbb7b92fa333275.tar.xz
Made hash resize function static.
-rw-r--r--fitz/base_hash.c2
-rw-r--r--fitz/fitz_base.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/fitz/base_hash.c b/fitz/base_hash.c
index f999eee9..195b0525 100644
--- a/fitz/base_hash.c
+++ b/fitz/base_hash.c
@@ -94,7 +94,7 @@ fz_drophash(fz_hashtable *table)
fz_free(table);
}
-void
+static void
fz_resizehash(fz_hashtable *table, int newsize)
{
fz_hashentry *oldents = table->ents;
diff --git a/fitz/fitz_base.h b/fitz/fitz_base.h
index a7b74d83..7e026d0f 100644
--- a/fitz/fitz_base.h
+++ b/fitz/fitz_base.h
@@ -184,7 +184,6 @@ char *fz_strdup(char *s);
typedef struct fz_hashtable_s fz_hashtable;
fz_hashtable * fz_newhash(int initialsize, int keylen);
-void fz_resizehash(fz_hashtable *table, int newsize);
void fz_debughash(fz_hashtable *table);
void fz_emptyhash(fz_hashtable *table);
void fz_drophash(fz_hashtable *table);