summaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-11-15 12:41:56 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-11-15 12:41:56 +0100
commit7376031d32ad17e149c4230d547a193eadf4924e (patch)
tree6649058e42c7a76bf50d7b649481eb3703783f9d /src/cache.c
parentb657f3dc1619014e78d245f92cb5fa665fde2644 (diff)
parentbc61daf7b1d24bd37755063c268548862f2be114 (diff)
merge
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cache.c b/src/cache.c
index 5652ae4f..3341388c 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -88,7 +88,7 @@ static uint_t DelayedQueueIdleId = 0;
static CacheEntry_t *Cache_process_queue(CacheEntry_t *entry);
static void Cache_delayed_process_queue(CacheEntry_t *entry);
static void Cache_auth_entry(CacheEntry_t *entry, BrowserWindow *bw);
-
+static void Cache_entry_inject(const DilloUrl *Url, Dstr *data_ds);
/*
* Determine if two cache entries are equal (used by CachedURLs)
@@ -124,7 +124,7 @@ void a_Cache_init(void)
{
DilloUrl *url = a_Url_new("about:splash", NULL);
Dstr *ds = dStr_new(AboutSplash);
- a_Cache_entry_inject(url, ds);
+ Cache_entry_inject(url, ds);
dStr_free(ds, 1);
a_Url_free(url);
}
@@ -267,7 +267,7 @@ static CacheEntry_t *Cache_entry_add(const DilloUrl *Url)
* Inject full page content directly into the cache.
* Used for "about:splash". May be used for "about:cache" too.
*/
-void a_Cache_entry_inject(const DilloUrl *Url, Dstr *data_ds)
+static void Cache_entry_inject(const DilloUrl *Url, Dstr *data_ds)
{
CacheEntry_t *entry;