summaryrefslogtreecommitdiff
path: root/src/dicache.c
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-11-11 18:33:43 +0000
committercorvid <corvid@lavabit.com>2009-11-11 18:33:43 +0000
commit8ce999a7f0cc737de0df678e24cebdc51b7cd6d8 (patch)
tree41538992d6cf43248e28553a6783285e0f37856b /src/dicache.c
parent4fa42f715128885c26b8c441da5cdcd426cc062b (diff)
functions needn't be publicly visible
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) :