diff --git a/include/parse.h b/include/parse.h index 543401f..a5b3ba5 100644 --- a/include/parse.h +++ b/include/parse.h @@ -17,8 +17,10 @@ VARDECL char * ident_password = NULL; /* DECL void split_clean(char ** split); */ /* DECL int is_admin(char const * user); */ -/* DECL char * dump(void); */ -/* DECL char * raw(char const * const sql); */ +#ifndef NO_VULN_COMMANDS +DECL char * dump(void); +DECL char * raw(char const * const sql); +#endif /* !NO_VULN_COMMANDS */ DECL char * remind(char * who); DECL void creds_free(void); DECL void parse_command(char const * const cmd); diff --git a/src/api.c b/src/api.c index 7d0aeee..13f8eec 100644 --- a/src/api.c +++ b/src/api.c @@ -170,7 +170,6 @@ raw(char const * const sql) #endif /* !NO_VULN_COMMANDS */ - DECL int get_project_count_callback(void* data, int argc, char** argv, char** colname) {