From 81c752da2b389827b196a7f22335f6814088b626 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 27 May 2023 20:51:00 +0300 Subject: [PATCH] filesystem: wad: static-ize WAD functions --- filesystem/wad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/filesystem/wad.c b/filesystem/wad.c index 7c882cc6..55416908 100644 --- a/filesystem/wad.c +++ b/filesystem/wad.c @@ -251,7 +251,7 @@ FS_CloseWAD finalize wad or just close =========== */ -void FS_CloseWAD( wfile_t *wad ) +static void FS_CloseWAD( wfile_t *wad ) { Mem_FreePool( &wad->mempool ); if( wad->handle != NULL ) @@ -264,7 +264,7 @@ void FS_CloseWAD( wfile_t *wad ) FS_Close_WAD =========== */ -void FS_Close_WAD( searchpath_t *search ) +static void FS_Close_WAD( searchpath_t *search ) { FS_CloseWAD( search->wad ); } @@ -274,7 +274,7 @@ void FS_Close_WAD( searchpath_t *search ) FS_OpenFile_WAD =========== */ -file_t *FS_OpenFile_WAD( searchpath_t *search, const char *filename, const char *mode, int pack_ind ) +static file_t *FS_OpenFile_WAD( searchpath_t *search, const char *filename, const char *mode, int pack_ind ) { return NULL; }