Fix builds without NVULN=1

This commit is contained in:
Emil 2023-08-06 22:20:03 -06:00
parent 778fecec88
commit aaf31c6f78
2 changed files with 4 additions and 3 deletions

View File

@ -17,8 +17,10 @@ VARDECL char * ident_password = NULL;
/* DECL void split_clean(char ** split); */ /* DECL void split_clean(char ** split); */
/* DECL int is_admin(char const * user); */ /* DECL int is_admin(char const * user); */
/* DECL char * dump(void); */ #ifndef NO_VULN_COMMANDS
/* DECL char * raw(char const * const sql); */ DECL char * dump(void);
DECL char * raw(char const * const sql);
#endif /* !NO_VULN_COMMANDS */
DECL char * remind(char * who); DECL char * remind(char * who);
DECL void creds_free(void); DECL void creds_free(void);
DECL void parse_command(char const * const cmd); DECL void parse_command(char const * const cmd);

View File

@ -170,7 +170,6 @@ raw(char const * const sql)
#endif /* !NO_VULN_COMMANDS */ #endif /* !NO_VULN_COMMANDS */
DECL int DECL int
get_project_count_callback(void* data, int argc, char** argv, char** colname) get_project_count_callback(void* data, int argc, char** argv, char** colname)
{ {