diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mutex_noop.c | 2 | ||||
-rw-r--r-- | src/wal.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mutex_noop.c b/src/mutex_noop.c index e1e3b3288..c5fd5202c 100644 --- a/src/mutex_noop.c +++ b/src/mutex_noop.c @@ -200,7 +200,7 @@ sqlite3_mutex_methods const *sqlite3NoopMutex(void){ */ #ifdef SQLITE_MUTEX_NOOP sqlite3_mutex_methods const *sqlite3DefaultMutex(void){ - return sqliteNoopMutex(); + return sqlite3NoopMutex(); } #endif /* SQLITE_MUTEX_NOOP */ #endif /* SQLITE_MUTEX_OMIT */ @@ -1671,7 +1671,7 @@ int sqlite3WalClose( ** If the checksum cannot be verified return non-zero. If the header ** is read successfully and the checksum verified, return zero. */ -int walIndexTryHdr(Wal *pWal, int *pChanged){ +static int walIndexTryHdr(Wal *pWal, int *pChanged){ u32 aCksum[2]; /* Checksum on the header content */ WalIndexHdr h1, h2; /* Two copies of the header content */ WalIndexHdr volatile *aHdr; /* Header in shared memory */ |