aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-03-11 16:15:48 +0000
committerdrh <drh@noemail.net>2011-03-11 16:15:48 +0000
commitca6b9d5bbed35d6cf743d8d63b14412391983ec0 (patch)
tree2109aff7aedda9e8dc3a8e57ac7236c9b985ac8e /src/os_unix.c
parentfbf34bf7947dc3a805ea2104bc208983a7ed8a51 (diff)
downloadsqlite-ca6b9d5bbed35d6cf743d8d63b14412391983ec0.tar.gz
sqlite-ca6b9d5bbed35d6cf743d8d63b14412391983ec0.zip
Remove an unused field from the unix sqlite3_file object.
FossilOrigin-Name: f957f23a8a392bb1720720960bda2c7b24de9663
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 335fcae99..0d72802bd 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -209,7 +209,6 @@ struct unixFile {
int lastErrno; /* The unix errno from last I/O error */
void *lockingContext; /* Locking style specific state */
UnixUnusedFd *pUnused; /* Pre-allocated UnixUnusedFd */
- int fileFlags; /* Miscellanous flags */
const char *zPath; /* Name of the file */
unixShm *pShm; /* Shared memory segment information */
int szChunk; /* Configured by FCNTL_CHUNK_SIZE */
@@ -244,11 +243,6 @@ struct unixFile {
};
/*
-** The following macros define bits in unixFile.fileFlags
-*/
-#define SQLITE_WHOLE_FILE_LOCKING 0x0001 /* Use whole-file locking */
-
-/*
** Include code that is common to all os_*.c files
*/
#include "os_common.h"
@@ -4356,7 +4350,6 @@ static int fillInUnixFile(
OSTRACE(("OPEN %-3d %s\n", h, zFilename));
pNew->h = h;
pNew->dirfd = dirfd;
- pNew->fileFlags = 0;
pNew->zPath = zFilename;
#if OS_VXWORKS