1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Ensure that mpseventsql compiles with gcc -wmissing-variable-declarations.

Copied from Perforce
 Change: 185473
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-04-11 21:18:23 +01:00
parent 2ef0e22c55
commit b033a14564

View file

@ -102,7 +102,7 @@ typedef sqlite3_int64 int64;
* and for reporting errors.
*/
unsigned int verbosity = 0;
static unsigned int verbosity = 0;
#define LOG_ALWAYS 0
#define LOG_OFTEN 1
@ -533,7 +533,7 @@ static void logFileCompleted(sqlite3 *db,
/* An array of table-creation statement strings. */
const char *createStatements[] = {
static const char *createStatements[] = {
"CREATE TABLE IF NOT EXISTS event_kind (name TEXT,"
" description TEXT,"
" enum INTEGER PRIMARY KEY)",
@ -571,7 +571,7 @@ static void makeTables(sqlite3 *db)
}
}
const char *glueTables[] = {
static const char *glueTables[] = {
"event_kind",
"event_type",
"event_param",