1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-23 07:12:12 -07: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 8624638093
commit 2aef76c48c

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",