From 9dc5bc817ad4a396b05d17510714b4e9e1971bf8 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 8 Dec 2005 23:01:51 +0000 Subject: [PATCH] Add more comments, fix one prototype. --- src/sbbs3/js_cache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sbbs3/js_cache.h b/src/sbbs3/js_cache.h index 2a2cb164e0..5a73f952b5 100644 --- a/src/sbbs3/js_cache.h +++ b/src/sbbs3/js_cache.h @@ -29,6 +29,7 @@ extern "C" { * laststat is less than stale time or a new stat() matches * the mtime, ctime, and size. * Compiles it and adds to the cache if not. + * Increments running value. */ struct cached_data *js_get_compiled_script(char *filename); @@ -45,7 +46,7 @@ void js_cache_thread(void *args); * Decrements the running value, increments runcount, and updates * lastrun */ -void js_script_done(struct cached_data entry); +void js_script_done(struct cached_data *entry); #ifdef __cplusplus } #endif -- GitLab