/ Check-in [824b39e5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix harmless compiler warnings in shell.c for NetBSD.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 824b39e54fb9ba562be4d92cc9a54aee1cdf84cb
User & Date: drh 2016-07-13 13:05:13
Context
2016-07-14
19:13
Fix ALTER TABLE so that it does not promote the schema version past 3, as that will cause DESC indexes to go corrupt. Ticket [f68bf68513a1c]. check-in: a7db6e45 user: drh tags: trunk
2016-07-13
21:30
Interface design for a new sqlite3_trace_v2() method that supersedes sqlite3_trace() and sqlite3_profile(). check-in: 0c569f75 user: drh tags: sqlite3_trace_v2
13:05
Fix harmless compiler warnings in shell.c for NetBSD. check-in: 824b39e5 user: drh tags: trunk
00:55
Fix header comments and remove an unnecessary version restriction from the carray() table-valued function implementation. check-in: 021d0fb8 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/shell.c.

  2942   2942     sqlite3_finalize(pStmt);
  2943   2943     return res;
  2944   2944   }
  2945   2945   
  2946   2946   /*
  2947   2947   ** Convert a 2-byte or 4-byte big-endian integer into a native integer
  2948   2948   */
  2949         -unsigned int get2byteInt(unsigned char *a){
         2949  +static unsigned int get2byteInt(unsigned char *a){
  2950   2950     return (a[0]<<8) + a[1];
  2951   2951   }
  2952         -unsigned int get4byteInt(unsigned char *a){
         2952  +static unsigned int get4byteInt(unsigned char *a){
  2953   2953     return (a[0]<<24) + (a[1]<<16) + (a[2]<<8) + a[3];
  2954   2954   }
  2955   2955   
  2956   2956   /*
  2957   2957   ** Implementation of the ".info" command.
  2958   2958   **
  2959   2959   ** Return 1 on error, 2 to exit, and 0 otherwise.