Module Name:    src
Committed By:   abhinav
Date:           Sun Jul  3 09:27:25 UTC 2016

Modified Files:
        src/external/public-domain/sqlite/dist: shell.c

Log Message:
Mark the functions get2byteInt and get4byteInt as static to avoid 
-Werror=missing-prototypes problems.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.4 -r1.2 src/external/public-domain/sqlite/dist/shell.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/dist/shell.c
diff -u src/external/public-domain/sqlite/dist/shell.c:1.1.1.4 src/external/public-domain/sqlite/dist/shell.c:1.2
--- src/external/public-domain/sqlite/dist/shell.c:1.1.1.4	Sun Jul  3 09:24:29 2016
+++ src/external/public-domain/sqlite/dist/shell.c	Sun Jul  3 09:27:25 2016
@@ -2946,10 +2946,10 @@ static int db_int(ShellState *p, const c
 /*
 ** Convert a 2-byte or 4-byte big-endian integer into a native integer
 */
-unsigned int get2byteInt(unsigned char *a){
+static unsigned int get2byteInt(unsigned char *a){
   return (a[0]<<8) + a[1];
 }
-unsigned int get4byteInt(unsigned char *a){
+static unsigned int get4byteInt(unsigned char *a){
   return (a[0]<<24) + (a[1]<<16) + (a[2]<<8) + a[3];
 }
 

Reply via email to