summaryrefslogtreecommitdiff
path: root/src/dicache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dicache.c')
-rw-r--r--src/dicache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dicache.c b/src/dicache.c
index e74db248..43285ba5 100644
--- a/src/dicache.c
+++ b/src/dicache.c
@@ -107,7 +107,7 @@ static DICacheEntry *Dicache_entry_new(void)
* Add a new entry in the dicache
* (a single node (URL) may have several entries)
*/
-DICacheEntry *a_Dicache_add_entry(const DilloUrl *Url)
+static DICacheEntry *Dicache_add_entry(const DilloUrl *Url)
{
DICacheEntry *entry;
DICacheNode *node;
@@ -409,7 +409,7 @@ static void *Dicache_image(int ImgType, const char *MimeType, void *Ptr,
DicEntry = a_Dicache_get_entry(web->url, DIC_Last);
if (!DicEntry) {
/* Let's create an entry for this image... */
- DicEntry = a_Dicache_add_entry(web->url);
+ DicEntry = Dicache_add_entry(web->url);
DicEntry->DecoderData =
(ImgType == DIC_Png) ?
a_Png_new(web->Image, DicEntry->url, DicEntry->version) :