diff options
author | dan <dan@noemail.net> | 2010-06-02 05:53:53 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2010-06-02 05:53:53 +0000 |
commit | 558814f8c6084d5a4e2abecf94af84d4eb7e99d3 (patch) | |
tree | a6e122060822d6b983b42c357e96453ad7f91f75 /src/mutex_unix.c | |
parent | 8b3cf82ddfb6e7897a970b14cd4e76ae2ee71268 (diff) | |
download | sqlite-558814f8c6084d5a4e2abecf94af84d4eb7e99d3.tar.gz sqlite-558814f8c6084d5a4e2abecf94af84d4eb7e99d3.zip |
Add some 'const' markers to static data that is really constant.
FossilOrigin-Name: e7073e23b80e7cae0c76d42f014ee9b2d40a8f2f
Diffstat (limited to 'src/mutex_unix.c')
-rw-r--r-- | src/mutex_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mutex_unix.c b/src/mutex_unix.c index b1037c4bf..a1ebc3b75 100644 --- a/src/mutex_unix.c +++ b/src/mutex_unix.c @@ -325,8 +325,8 @@ static void pthreadMutexLeave(sqlite3_mutex *p){ #endif } -sqlite3_mutex_methods *sqlite3DefaultMutex(void){ - static sqlite3_mutex_methods sMutex = { +sqlite3_mutex_methods const *sqlite3DefaultMutex(void){ + static const sqlite3_mutex_methods sMutex = { pthreadMutexInit, pthreadMutexEnd, pthreadMutexAlloc, |