From: stephan Date: Wed, 18 May 2022 18:10:17 +0000 (+0000) Subject: Code style fixes: s/char const/const char/. X-Git-Tag: version-3.39.0~132^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0076e49700a30735ef1026e507dabadb14a33083;p=thirdparty%2Fsqlite.git Code style fixes: s/char const/const char/. FossilOrigin-Name: 9bf042b2eb2137239a59e421e89eb463e719b264eac3db2adae44e321b9a4ad3 --- diff --git a/manifest b/manifest index a0c4796e38..0018bf2e36 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C The\sfiddle\sinput/output\sareas\snow\sstretch\sand\sshrink\sas\sneeded\sto\saccount\sfor\stheir\savailable\sspace. -D 2022-05-18T17:40:19.477 +C Code\sstyle\sfixes:\ss/char\sconst/const\schar/. +D 2022-05-18T18:10:17.699 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@ -557,7 +557,7 @@ F src/random.c 097dc8b31b8fba5a9aca1697aeb9fd82078ec91be734c16bffda620ced7ab83c F src/resolve.c a4eb3c617027fd049b07432f3b942ea7151fa793a332a11a7d0f58c9539e104f F src/rowset.c ba9515a922af32abe1f7d39406b9d35730ed65efab9443dc5702693b60854c92 F src/select.c 74060a09f66c0c056f3c61627e22cb484af0bbfa29d7d14dcf17c684742c15de -F src/shell.c.in 1892f21aafee8eca543881ef429f6166386ca1ae0051252e91d1235bd6f4217b +F src/shell.c.in 1a7cdd4b71b747fcf41902068657a7e73273a2c1a98d0ceb044dbd5874c2f0e4 F src/sqlite.h.in d15c307939039086adca159dd340a94b79b69827e74c6d661f343eeeaefba896 F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8 F src/sqlite3ext.h a988810c9b21c0dc36dc7a62735012339dc76fc7ab448fb0792721d30eacb69d @@ -1957,8 +1957,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P 281aaae73167828bdf0bb2c07f83622475ab29b5755ac7fb8584c8e919c0a09b -R 350593b2588836a17551d7129cf751f1 +P 4eec05457fabe8248b8fd48d6187e772b69429ed64e99f02d0ad6b1230b5835e +R 827e31b4bc83d11855fefe2a58e8b6d3 U stephan -Z 070e426c784b56498ff47ca6f7f676b3 +Z d569a8b85b6a19a19ff04cd6f21c4eda # Remove this line to create a well-formed Fossil manifest. diff --git a/manifest.uuid b/manifest.uuid index aabd22e851..3b661c373b 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -4eec05457fabe8248b8fd48d6187e772b69429ed64e99f02d0ad6b1230b5835e \ No newline at end of file +9bf042b2eb2137239a59e421e89eb463e719b264eac3db2adae44e321b9a4ad3 \ No newline at end of file diff --git a/src/shell.c.in b/src/shell.c.in index b46a00de66..fc097a13ef 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -809,7 +809,7 @@ static void freeText(ShellText *p){ ** If the third argument, quote, is not '\0', then it is used as a ** quote character for zAppend. */ -static void appendText(ShellText *p, char const *zAppend, char quote){ +static void appendText(ShellText *p, const char *zAppend, char quote){ int len; int i; int nAppend = strlen30(zAppend); @@ -1165,7 +1165,7 @@ struct ShellState { #ifdef SQLITE_SHELL_WASM_MODE struct { const char * zInput; /* Input string from wasm/JS proxy */ - char const * zPos; /* Cursor pos into zInput */ + const char * zPos; /* Cursor pos into zInput */ } wasm; #endif }; @@ -12520,7 +12520,7 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){ ** as if it were input to the sqlite3 shell and redirects all output ** to the wasm binding. */ -void fiddle_exec(char const * zSql){ +void fiddle_exec(const char * zSql){ static int once = 0; int rc = 0; if(!once){