File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ typedef struct dir_data {
168168
169169#ifdef _WIN32
170170
171- int lfs_win32_pusherror (lua_State * L )
171+ static int lfs_win32_pusherror (lua_State * L )
172172{
173173 int en = GetLastError ();
174174 lua_pushnil (L );
@@ -181,15 +181,15 @@ int lfs_win32_pusherror(lua_State * L)
181181
182182#define TICKS_PER_SECOND 10000000
183183#define EPOCH_DIFFERENCE 11644473600LL
184- time_t windowsToUnixTime (FILETIME ft )
184+ static time_t windowsToUnixTime (FILETIME ft )
185185{
186186 ULARGE_INTEGER uli ;
187187 uli .LowPart = ft .dwLowDateTime ;
188188 uli .HighPart = ft .dwHighDateTime ;
189189 return (time_t ) (uli .QuadPart / TICKS_PER_SECOND - EPOCH_DIFFERENCE );
190190}
191191
192- int lfs_win32_lstat (const char * path , STAT_STRUCT * buffer )
192+ static int lfs_win32_lstat (const char * path , STAT_STRUCT * buffer )
193193{
194194 WIN32_FILE_ATTRIBUTE_DATA win32buffer ;
195195 if (GetFileAttributesEx (path , GetFileExInfoStandard , & win32buffer )) {
You can’t perform that action at this time.
0 commit comments