formating complience

This commit is contained in:
anon 2023-08-03 13:52:56 +02:00
parent b7e72910ce
commit 0680837c8c

View File

@ -134,7 +134,8 @@ raw(const char * const sql)
} }
static int get_project_count_callback(void* data, int argc, char** argv, char** colname) { DECL int
get_project_count_callback(void* data, int argc, char** argv, char** colname) {
(void)argc; (void)argc;
(void)colname; (void)colname;
int* count = (int*)data; int* count = (int*)data;
@ -142,7 +143,8 @@ static int get_project_count_callback(void* data, int argc, char** argv, char**
return 0; return 0;
} }
static int get_project_count(){ DECL int
get_project_count(){
int r = 0; int r = 0;
const char* sql = "SELECT COUNT(*) FROM project;"; const char* sql = "SELECT COUNT(*) FROM project;";