Quellcode durchsuchen

Fix builds without NVULN=1

master
Emil vor 9 Monaten
Ursprung
Commit
aaf31c6f78
2 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
  1. +4
    -2
      include/parse.h
  2. +0
    -1
      src/api.c

+ 4
- 2
include/parse.h Datei anzeigen

@@ -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);


+ 0
- 1
src/api.c Datei anzeigen

@@ -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)
{