diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-09-24 09:12:46 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-09-24 09:12:46 +0000 |
commit | 0afae93fa4abd7c23a8f8f558a5080a0f05a17d7 (patch) | |
tree | 42bba15adaf4de4f65e7bf09b176c8f2da582a6b /src/os_unix.c | |
parent | 45e60aabc68db2323e34377a53ac154bf757c229 (diff) | |
download | sqlite-0afae93fa4abd7c23a8f8f558a5080a0f05a17d7.tar.gz sqlite-0afae93fa4abd7c23a8f8f558a5080a0f05a17d7.zip |
Fix some function declarations (change "int foo()" to "int foo(void)"). Ticket #3399. (CVS 5740)
FossilOrigin-Name: 0fb98c35353d8c0a8d669bbe45fe84e3a5060621
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index d9272eef9..140fdbd57 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -12,7 +12,7 @@ ** ** This file contains code that is specific to Unix systems. ** -** $Id: os_unix.c,v 1.203 2008/09/23 10:23:26 drh Exp $ +** $Id: os_unix.c,v 1.204 2008/09/24 09:12:47 danielk1977 Exp $ */ #include "sqliteInt.h" #if SQLITE_OS_UNIX /* This file is used on unix only */ @@ -389,10 +389,10 @@ static struct openCnt *openList = 0; /* ** Helper functions to obtain and relinquish the global mutex. */ -static void enterMutex(){ +static void enterMutex(void){ sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)); } -static void leaveMutex(){ +static void leaveMutex(void){ sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)); } |