From: drh Date: Tue, 21 Jun 2011 15:54:24 +0000 (+0000) Subject: Give the osLocaltime() function file scope in date.c. X-Git-Tag: version-3.7.7~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f93a0807079f7242a2ee63045ec47492348ff9b;p=thirdparty%2Fsqlite.git Give the osLocaltime() function file scope in date.c. FossilOrigin-Name: 1577484595b5e5aab93722d76b273c911a04dc2c --- diff --git a/manifest b/manifest index c3455967e0..ec98e9f825 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Initialize\sa\svariable\sintroduced\sas\spart\sof\sthe\sfix\sfor\s[bd484a090c8077]\sin\sorder\sto\ssilence\sa\scompiler\swarning. -D 2011-06-21T15:38:05.427 +C Give\sthe\sosLocaltime()\sfunction\sfile\sscope\sin\sdate.c. +D 2011-06-21T15:54:24.112 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in c1d7a7f4fd8da6b1815032efca950e3d5125407e F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -131,7 +131,7 @@ F src/build.c 5a428625d21ad409514afb40ad083bee25dd957a F src/callback.c 0425c6320730e6d3981acfb9202c1bed9016ad1a F src/complete.c dc1d136c0feee03c2f7550bafc0d29075e36deac F src/ctime.c 7deec4534f3b5a0c3b4a4cbadf809d321f64f9c4 -F src/date.c e4df48782b3fa3d99ed6c842d45645e22347b1d4 +F src/date.c d3c11de76392ea62637bfac0f4655889fc2f5a85 F src/delete.c cecc926c70783452f3e8eb452c728291ce1a0b21 F src/expr.c ab46ab0f0c44979a8164ca31728d7d10ae5e8106 F src/fault.c 160a0c015b6c2629d3899ed2daf63d75754a32bb @@ -948,7 +948,7 @@ F tool/symbols.sh bc2a3709940d47c8ac8e0a1fdf17ec801f015a00 F tool/tostr.awk 11760e1b94a5d3dcd42378f3cc18544c06cfa576 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f F tool/warnings.sh 347d974d143cf132f953b565fbc03026f19fcb4d -P 7fe8ba2ec762d258b04e775766c82e5e541ab5d1 -R 7279502c00f0720017c3da8a6b7b8429 -U dan -Z f96fb31e69ea5b6b58c1071e1a171626 +P 6b9877fa43bf29a9740285f0c40a6e6cf21f8190 +R 3fbca61c030ab09b1bb1127ca7da2d34 +U drh +Z fa6d47f6a0dfe450fcd5e2c9c8154b97 diff --git a/manifest.uuid b/manifest.uuid index aacf143b55..d848315029 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -6b9877fa43bf29a9740285f0c40a6e6cf21f8190 \ No newline at end of file +1577484595b5e5aab93722d76b273c911a04dc2c \ No newline at end of file diff --git a/src/date.c b/src/date.c index 3065a320d5..c0744e8c72 100644 --- a/src/date.c +++ b/src/date.c @@ -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)