diff options
author | danielk1977 <danielk1977@noemail.net> | 2004-05-10 10:34:51 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2004-05-10 10:34:51 +0000 |
commit | 6f8a503d71977f70bb203ee738dfbf5a646851e4 (patch) | |
tree | ee420ba1c4afc856c7b2585b33a8e20371680252 /src/os.c | |
parent | 24b03fd055b993519961b0cffb2a79a4942fb3c7 (diff) | |
download | sqlite-6f8a503d71977f70bb203ee738dfbf5a646851e4.tar.gz sqlite-6f8a503d71977f70bb203ee738dfbf5a646851e4.zip |
Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338)
FossilOrigin-Name: 2242423e31a5e81e89ffcc99e62307c5cc0120d5
Diffstat (limited to 'src/os.c')
-rw-r--r-- | src/os.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -362,12 +362,12 @@ int findLockInfo( ** is used for testing the I/O recovery logic. */ #ifdef SQLITE_TEST -int sqlite_io_error_pending = 0; +int sqlite3_io_error_pending = 0; #define SimulateIOError(A) \ - if( sqlite_io_error_pending ) \ - if( sqlite_io_error_pending-- == 1 ){ local_ioerr(); return A; } + if( sqlite3_io_error_pending ) \ + if( sqlite3_io_error_pending-- == 1 ){ local_ioerr(); return A; } static void local_ioerr(){ - sqlite_io_error_pending = 0; /* Really just a place to set a breakpoint */ + sqlite3_io_error_pending = 0; /* Really just a place to set a breakpoint */ } #else #define SimulateIOError(A) @@ -377,8 +377,8 @@ static void local_ioerr(){ ** When testing, keep a count of the number of open files. */ #ifdef SQLITE_TEST -int sqlite_open_file_count = 0; -#define OpenCounter(X) sqlite_open_file_count+=(X) +int sqlite3_open_file_count = 0; +#define OpenCounter(X) sqlite3_open_file_count+=(X) #else #define OpenCounter(X) #endif @@ -1785,7 +1785,7 @@ char *sqlite3OsFullPathname(const char *zRelative){ ** returned from sqlite3OsCurrentTime(). This is used for testing. */ #ifdef SQLITE_TEST -int sqlite_current_time = 0; +int sqlite3_current_time = 0; #endif /* @@ -1810,8 +1810,8 @@ int sqlite3OsCurrentTime(double *prNow){ *prNow = (now + ft.dwLowDateTime)/864000000000.0 + 2305813.5; #endif #ifdef SQLITE_TEST - if( sqlite_current_time ){ - *prNow = sqlite_current_time/86400.0 + 2440587.5; + if( sqlite3_current_time ){ + *prNow = sqlite3_current_time/86400.0 + 2440587.5; } #endif return 0; |