mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
@@ -33,7 +33,6 @@
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <sys/prctl.h>
|
||||
//#include <math.h>
|
||||
#include <pwd.h>
|
||||
// syslog
|
||||
#include <syslog.h>
|
||||
|
||||
@@ -8,5 +8,10 @@
|
||||
* This file is copyright under the latest version of the EUPL.
|
||||
* Please see LICENSE file for your rights under this license. */
|
||||
|
||||
#ifndef SQLITE3_EXT_H
|
||||
#define SQLITE3_EXT_H
|
||||
|
||||
// Initialization point for SQLite3 extensions
|
||||
extern int sqlite3_pihole_extensions_init(sqlite3 *db, const char **pzErrMsg, const struct sqlite3_api_routines *pApi);
|
||||
|
||||
#endif // SQLITE3_EXT_H
|
||||
@@ -19,7 +19,6 @@
|
||||
#include <signal.h>
|
||||
// clock_gettime()
|
||||
#include <sys/time.h>
|
||||
//#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
// wait()
|
||||
#include <sys/socket.h>
|
||||
|
||||
@@ -8,7 +8,12 @@
|
||||
* This file is copyright under the latest version of the EUPL.
|
||||
* Please see LICENSE file for your rights under this license. */
|
||||
|
||||
#ifndef GRAVITY_PARSELIST_H
|
||||
#define GRAVITY_PARSELIST_H
|
||||
|
||||
#include "FTL.h"
|
||||
|
||||
int gravity_parseList(const char *infile, const char *outfile, const char *adlistID, const bool checkOnly, const bool antigravity);
|
||||
bool __attribute__((pure)) valid_domain(const char *domain, const size_t len, const bool fqdn_only);
|
||||
|
||||
#endif // GRAVITY_PARSELIST_H
|
||||
@@ -606,7 +606,7 @@ void FTL_rewrite_pattern(char *filename, unsigned long filename_buf_len)
|
||||
filename_lp = append_to_path(filename, ".lp");
|
||||
if(filename_lp == NULL)
|
||||
{
|
||||
//Failed to allocate memory for filename!");
|
||||
// Failed to allocate memory for filename
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user