aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-11-25 15:15:03 +0000
committerdrh <drh@noemail.net>2015-11-25 15:15:03 +0000
commit5337dacbad4d61f48873ad228a0bf4399043d854 (patch)
tree5c9529c596aefc46f4e797a52d88f082af7d94c1 /src/os_unix.c
parent91c4defbcf7f53e37720efb67209ad3b76f0f834 (diff)
downloadsqlite-5337dacbad4d61f48873ad228a0bf4399043d854.tar.gz
sqlite-5337dacbad4d61f48873ad228a0bf4399043d854.zip
Remove unused methods from the unix VFS.
FossilOrigin-Name: 228bd15bbb7a1e6e3e0d03832e7f39ba169356a8
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 6afbfe5ca..e31843af3 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -6227,6 +6227,7 @@ static int unixCurrentTimeInt64(sqlite3_vfs *NotUsed, sqlite3_int64 *piNow){
return rc;
}
+#if 0 /* Not used */
/*
** Find the current time (in Universal Coordinated Time). Write the
** current time and date as a Julian Day number into *prNow and
@@ -6240,7 +6241,11 @@ static int unixCurrentTime(sqlite3_vfs *NotUsed, double *prNow){
*prNow = i/86400000.0;
return rc;
}
+#else
+# define unixCurrentTime 0
+#endif
+#if 0 /* Not used */
/*
** We added the xGetLastError() method with the intention of providing
** better low-level error messages when operating-system problems come up
@@ -6254,6 +6259,9 @@ static int unixGetLastError(sqlite3_vfs *NotUsed, int NotUsed2, char *NotUsed3){
UNUSED_PARAMETER(NotUsed3);
return 0;
}
+#else
+# define unixGetLastError 0
+#endif
/*