1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Give the osLocaltime() function file scope in date.c.

FossilOrigin-Name: 1577484595b5e5aab93722d76b273c911a04dc2c
This commit is contained in:
drh
2011-06-21 15:54:24 +00:00
parent 0d37f58184
commit 1f93a08070
3 changed files with 9 additions and 9 deletions

View File

@@ -422,7 +422,7 @@ static void clearYMD_HMS_TZ(DateTime *p){
** If the sqlite3GlobalConfig.bLocaltimeFault variable is true then this
** routine will always fail.
*/
int osLocaltime(time_t *t, struct tm *pTm){
static int osLocaltime(time_t *t, struct tm *pTm){
int rc;
#if (!defined(HAVE_LOCALTIME_R) || !HAVE_LOCALTIME_R) \
&& (!defined(HAVE_LOCALTIME_S) || !HAVE_LOCALTIME_S)