Change "... myfunction() { ... }" to "... myfunction(void) { ... }" in a few pla

ces. Ticket #3783. (CVS 6462)

FossilOrigin-Name: 6f79e6ae0d30948db4ba26bb5b448c15c470464f
This commit is contained in:
danielk1977 2009-04-07 11:21:28 +00:00
parent c4d201c632
commit 64aca19127
7 changed files with 23 additions and 23 deletions

View File

@ -1,5 +1,5 @@
C Have\sOP_IdxRowid\shandle\sthe\scase\swhere\sthe\sindex\sentry\sit\sis\sreading\sfrom\sis\sdeleted.\s(CVS\s6461)
D 2009-04-07T09:16:57
C Change\s"...\smyfunction()\s{\s...\s}"\sto\s"...\smyfunction(void)\s{\s...\s}"\sin\sa\sfew\spla\nces.\sTicket\s#3783.\s(CVS\s6462)
D 2009-04-07T11:21:29
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in 583e87706abc3026960ed759aff6371faf84c211
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@ -136,7 +136,7 @@ F src/mutex_noop.c f5a07671f25a1a9bd7c10ad7107bc2585446200f
F src/mutex_os2.c 6b5a74f812082a8483c3df05b47bbaac2424b9a0
F src/mutex_unix.c 2f936339dfef1a4c142db290d575a3509b77315f
F src/mutex_w32.c f4b6a4a48f1dfff7f0089cba9b5a371691f17b8b
F src/notify.c d71a03ab24f1b4dc78870578a77e118e3d18360f
F src/notify.c da6f6b999dce9203d24280fa01b4ffbd2d9ba79b
F src/os.c c2aa4a7d8bb845222e5c37f56cde377b20c3b087
F src/os.h fa3f4aa0119ff721a2da4b47ffd74406ac864c05
F src/os_common.h 8c61457df58f1a4bd5f5adc3e90e01b37bf7afbc
@ -173,7 +173,7 @@ F src/test6.c 1a0a7a1f179469044b065b4a88aab9faee114101
F src/test7.c b94e68c2236de76889d82b8d7d8e00ad6a4d80b1
F src/test8.c 3637439424d0d21ff2dcf9b015c30fcc1e7bcb24
F src/test9.c 963d380922f25c1c323712d05db01b19197ee6f7
F src/test_async.c da1402a61a99d9707f9d65df063cb8e7d0df605a
F src/test_async.c c820a2d21ef910cbef613ca55938fc8d7545c84a
F src/test_autoext.c f53b0cdf7bf5f08100009572a5d65cdb540bd0ad
F src/test_backup.c 1384a18985a5a2d275c2662e48473bf1542ebd08
F src/test_btree.c d7b8716544611c323860370ee364e897c861f1b0
@ -181,12 +181,12 @@ F src/test_config.c a05378089b6773ba36b85727dedf9ec0a16424ce
F src/test_devsym.c 9f4bc2551e267ce7aeda195f3897d0f30c5228f4
F src/test_func.c dd7bcaafb4e149702b506ede125ef6a4d4f6c471
F src/test_hexio.c 2f1122aa3f012fa0142ee3c36ce5c902a70cd12f
F src/test_journal.c 1e7baebc212b2c79f03f2c647cfd0b4f3678bf4c
F src/test_journal.c 28673a22c9cf5d258c153b788340fa1e1ec40b8b
F src/test_loadext.c 97dc8800e46a46ed002c2968572656f37e9c0dd9
F src/test_malloc.c d23050c7631ec9ee0369c7ca905e6c9233968e11
F src/test_malloc.c c3aabe4b48d1f4f1e78b6561ce92ca04b7495ee5
F src/test_md5.c 032ae2bb6f81da350d2404e81fa8d560c8268026
F src/test_mutex.c 482d9d987c1c678199691efc23c8cd3464e01ff5
F src/test_onefile.c 1efd91e63ce3d92e8331bfed83854e2b4dcd2e72
F src/test_onefile.c d2c3126633592aeef14e8d268fc40c74449b69d8
F src/test_osinst.c 9a70a61e127f9e72bcfca000b20368b1c5367873
F src/test_pcache.c 29464896d9c67832e4eef916c0682b98d7283d00
F src/test_schema.c 4b4bf7bb329326458c491b0e6facd4c8c4c5b479
@ -715,7 +715,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
P efd0682b7e78acc4242cf257fc246350fc29b5c8
R ea88e0d47e3bbba6a9be95b56b9b242f
P cdad29b582ca832f6a717d8a6e3f3bca424e84a4
R d0fd726e5ff243281a73297aa23cdae6
U danielk1977
Z 1ad6ecec88b87bbba4f3244dc8c2e08e
Z c128ae39aeba6f928c4bb66d9b83018b

View File

@ -1 +1 @@
cdad29b582ca832f6a717d8a6e3f3bca424e84a4
6f79e6ae0d30948db4ba26bb5b448c15c470464f

View File

@ -13,7 +13,7 @@
** This file contains the implementation of the sqlite3_unlock_notify()
** API method and its associated functionality.
**
** $Id: notify.c,v 1.2 2009/03/25 16:51:43 drh Exp $
** $Id: notify.c,v 1.3 2009/04/07 11:21:29 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "btreeInt.h"
@ -112,7 +112,7 @@ static void addToBlockedList(sqlite3 *db){
/*
** Obtain the STATIC_MASTER mutex.
*/
static void enterMutex(){
static void enterMutex(void){
sqlite3_mutex_enter(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER));
checkListProperties(0);
}
@ -120,7 +120,7 @@ static void enterMutex(){
/*
** Release the STATIC_MASTER mutex.
*/
static void leaveMutex(){
static void leaveMutex(void){
assertMutexHeld();
checkListProperties(0);
sqlite3_mutex_leave(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER));

View File

@ -10,7 +10,7 @@
**
*************************************************************************
**
** $Id: test_async.c,v 1.56 2009/03/28 18:56:14 drh Exp $
** $Id: test_async.c,v 1.57 2009/04/07 11:21:29 danielk1977 Exp $
**
** This file contains an example implementation of an asynchronous IO
** backend for SQLite.
@ -642,7 +642,7 @@ static void addAsyncWrite(AsyncWrite *pWrite){
/*
** Increment async.nFile in a thread-safe manner.
*/
static void incrOpenFileCount(){
static void incrOpenFileCount(void){
/* We must hold the queue mutex in order to modify async.nFile */
pthread_mutex_lock(&async.queueMutex);
if( async.nFile==0 ){

View File

@ -15,7 +15,7 @@
** correctly populates and syncs a journal file before writing to a
** corresponding database file.
**
** $Id: test_journal.c,v 1.14 2009/03/28 17:21:52 danielk1977 Exp $
** $Id: test_journal.c,v 1.15 2009/04/07 11:21:29 danielk1977 Exp $
*/
#if SQLITE_TEST /* This file is used for testing only */
@ -814,7 +814,7 @@ int jt_register(char *zWrap, int isDefault){
/*
** Uninstall the jt VFS, if it is installed.
*/
void jt_unregister(){
void jt_unregister(void){
sqlite3_vfs_unregister(&jt_vfs);
}

View File

@ -13,7 +13,7 @@
** This file contains code used to implement test interfaces to the
** memory allocation subsystem.
**
** $Id: test_malloc.c,v 1.53 2009/02/04 15:27:40 danielk1977 Exp $
** $Id: test_malloc.c,v 1.54 2009/04/07 11:21:29 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@ -49,7 +49,7 @@ static void sqlite3Fault(void){
** Check to see if a fault should be simulated. Return true to simulate
** the fault. Return false if the fault should not be simulated.
*/
static int faultsimStep(){
static int faultsimStep(void){
if( likely(!memfault.enable) ){
return 0;
}
@ -771,7 +771,7 @@ static void test_memdebug_callback(int nByte, int nFrame, void **aFrame){
}
#endif /* SQLITE_MEMDEBUG */
static void test_memdebug_log_clear(){
static void test_memdebug_log_clear(void){
Tcl_HashSearch search;
Tcl_HashEntry *pEntry;
for(

View File

@ -10,7 +10,7 @@
**
*************************************************************************
**
** $Id: test_onefile.c,v 1.11 2009/02/10 18:54:03 danielk1977 Exp $
** $Id: test_onefile.c,v 1.12 2009/04/07 11:21:29 danielk1977 Exp $
**
** OVERVIEW:
**
@ -810,7 +810,7 @@ static int fsCurrentTime(sqlite3_vfs *pVfs, double *pTimeOut){
** true, the fs vfs becomes the new default vfs. It is the only publicly
** available function in this file.
*/
int fs_register(){
int fs_register(void){
if( fs_vfs.pParent ) return SQLITE_OK;
fs_vfs.pParent = sqlite3_vfs_find(0);
fs_vfs.base.mxPathname = fs_vfs.pParent->mxPathname;