Skip to content

Commit b884481

Browse files
committed
fixup! checkout.c: enable fscache for checkout again
These changes are needed to make Git build with DEVELOPER=1 again. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 07867ae commit b884481

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compat/win32/fscache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ int fscache_enable(int enable)
414414
/*
415415
* Flush cached stats result when fscache is enabled.
416416
*/
417-
void fscache_flush()
417+
void fscache_flush(void)
418418
{
419419
if (enabled) {
420420
EnterCriticalSection(&mutex);

compat/win32/fscache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ int fscache_enable(int enable);
77
int fscache_enabled(const char *path);
88
#define is_fscache_enabled(path) fscache_enabled(path)
99

10-
void fscache_flush();
10+
void fscache_flush(void);
1111
#define flush_fscache() fscache_flush()
1212

1313
DIR *fscache_opendir(const char *dir);

entry.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static int write_entry(struct cache_entry *ce,
366366
}
367367

368368
finish:
369-
// Flush cached lstat in fscache after writing disk.
369+
/* Flush cached lstat in fscache after writing to disk. */
370370
flush_fscache();
371371

372372
if (state->refresh_cache) {

0 commit comments

Comments
 (0)