From 0680837c8c21e9c0efa9b8b1a38db2e09318c24a Mon Sep 17 00:00:00 2001 From: anon Date: Thu, 3 Aug 2023 13:52:56 +0200 Subject: [PATCH] formating complience --- src/api.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/api.c b/src/api.c index 8d527bc..1e19f42 100644 --- a/src/api.c +++ b/src/api.c @@ -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)colname; int* count = (int*)data; @@ -142,7 +143,8 @@ static int get_project_count_callback(void* data, int argc, char** argv, char** return 0; } -static int get_project_count(){ +DECL int +get_project_count(){ int r = 0; const char* sql = "SELECT COUNT(*) FROM project;";