summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/CLIncludeFileCache.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-11 22:29:53 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-11 22:29:53 +0000
commit0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (patch)
treec1e05ec804c43aa5a8f5f21b0ed02d0587d29563 /command_line/CmdLine/Src/CLIncludeFileCache.c
parentaec1b8dddc68ecb8288ec6132932e4c7b4bca09f (diff)
downloadMWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.tar.gz
MWCC-0bec4f557a96e1a40437cf5af20cc78a5eec8a63.zip
getting closer
Diffstat (limited to 'command_line/CmdLine/Src/CLIncludeFileCache.c')
-rw-r--r--command_line/CmdLine/Src/CLIncludeFileCache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/command_line/CmdLine/Src/CLIncludeFileCache.c b/command_line/CmdLine/Src/CLIncludeFileCache.c
index d479f36..b7c78ea 100644
--- a/command_line/CmdLine/Src/CLIncludeFileCache.c
+++ b/command_line/CmdLine/Src/CLIncludeFileCache.c
@@ -19,7 +19,7 @@ static CacheEntry *cachelist;
static CacheEntry *freelist;
static UInt32 availablecache;
-static CacheEntry *makecacheentry() {
+static CacheEntry *makecacheentry(void) {
CacheEntry *c = freelist;
if (c) {
freelist = c->next;
@@ -46,13 +46,13 @@ static void deletecacheentry(CacheEntry *c) {
cachelist = c->next;
}
-void InitializeIncludeCache() {
+void InitializeIncludeCache(void) {
freelist = NULL;
cachelist = NULL;
availablecache = CACHE_SIZE;
}
-void CleanupIncludeCache() {
+void CleanupIncludeCache(void) {
CacheEntry *c;
CacheEntry *c1;