From d7a4073f2a86996c99e73e054dbb7b92fa333275 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 11 Apr 2010 18:33:27 +0200 Subject: Made hash resize function static. --- fitz/base_hash.c | 2 +- fitz/fitz_base.h | 1 - 2 files changed, 1 insertion(+), 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); -- cgit v1.2.3