aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-08-27 23:26:59 +0000
committerdrh <drh@noemail.net>2007-08-27 23:26:59 +0000
commit46c99e0f5d0191c8e1a80be52a3f26f3ba96e0d6 (patch)
tree71e5d68e584fa4810451fffb5c41426e860351b2 /src/os_unix.c
parent97c8ec325de75d363cc989b4ad1433d33c11f7a8 (diff)
downloadsqlite-46c99e0f5d0191c8e1a80be52a3f26f3ba96e0d6.tar.gz
sqlite-46c99e0f5d0191c8e1a80be52a3f26f3ba96e0d6.zip
Work around problem with forward declarations of constants in MSVC
in the amalgamation. Ticket #2574. (CVS 4304) FossilOrigin-Name: dc80b2e1f4e1d31479aad9f39e651e62f2601fb8
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 1b23fef1e..ae36615aa 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2588,10 +2588,10 @@ static void unixDlError(sqlite3_vfs *pVfs, int nBuf, char *zBufOut){
}
leaveMutex();
}
-void *unixDlSym(sqlite3_vfs *pVfs, void *pHandle, const char *zSymbol){
+static void *unixDlSym(sqlite3_vfs *pVfs, void *pHandle, const char *zSymbol){
return dlsym(pHandle, zSymbol);
}
-void unixDlClose(sqlite3_vfs *pVfs, void *pHandle){
+static void unixDlClose(sqlite3_vfs *pVfs, void *pHandle){
dlclose(pHandle);
}
#else /* if SQLITE_OMIT_LOAD_EXTENSION is defined: */