Drop log.h include from helpers.h

With the relocation of several functions, including inline functions,
from helpers to util, we no longer need to include log.h.  Which is a
good thing, since any subsystem that needs logging should explicitly
include log.h

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2025-07-06 03:14:02 +02:00
parent b18b21830a
commit d37d241647
10 changed files with 9 additions and 1 deletions
+1
View File
@@ -29,6 +29,7 @@
#include "finit.h" #include "finit.h"
#include "cond.h" #include "cond.h"
#include "log.h"
#include "helpers.h" #include "helpers.h"
#include "plugin.h" #include "plugin.h"
#include "service.h" #include "service.h"
+1
View File
@@ -31,6 +31,7 @@
#include "finit.h" #include "finit.h"
#include "helpers.h" #include "helpers.h"
#include "plugin.h" #include "plugin.h"
#include "log.h"
#ifndef SYSCTL_PATH #ifndef SYSCTL_PATH
#define SYSCTL_PATH "/sbin/sysctl" #define SYSCTL_PATH "/sbin/sysctl"
+1
View File
@@ -35,6 +35,7 @@
#include "finit.h" #include "finit.h"
#include "helpers.h" #include "helpers.h"
#include "plugin.h" #include "plugin.h"
#include "log.h"
/* /*
* Kernel RTC driver validates against this date for sanity check. The * Kernel RTC driver validates against this date for sanity check. The
+1
View File
@@ -38,6 +38,7 @@
#include "plugin.h" #include "plugin.h"
#include "service.h" #include "service.h"
#include "tty.h" #include "tty.h"
#include "log.h"
static void tty_watcher(void *arg, int fd, int events); static void tty_watcher(void *arg, int fd, int events);
+1
View File
@@ -38,6 +38,7 @@
#include "finit.h" #include "finit.h"
#include "helpers.h" #include "helpers.h"
#include "plugin.h" #include "plugin.h"
#include "log.h"
#ifndef RANDOM_BYTES #ifndef RANDOM_BYTES
#define RANDOM_BYTES (32*1024) #define RANDOM_BYTES (32*1024)
+1
View File
@@ -33,6 +33,7 @@
#include "finit.h" #include "finit.h"
#include "helpers.h" #include "helpers.h"
#include "plugin.h" #include "plugin.h"
#include "log.h"
static void setup(void *arg) static void setup(void *arg)
{ {
-1
View File
@@ -39,7 +39,6 @@
#else #else
# include <lite/lite.h> # include <lite/lite.h>
#endif #endif
#include "log.h"
#define PROGRESS_DEFAULT PROGRESS_MODERN #define PROGRESS_DEFAULT PROGRESS_MODERN
+1
View File
@@ -31,6 +31,7 @@
#include <sys/mount.h> #include <sys/mount.h>
#include "helpers.h" #include "helpers.h"
#include "log.h"
/* /*
* SysV init on Debian/Ubuntu skips these protected mount points * SysV init on Debian/Ubuntu skips these protected mount points
+1
View File
@@ -29,6 +29,7 @@
#include "finit.h" #include "finit.h"
#include "cond.h" #include "cond.h"
#include "conf.h" #include "conf.h"
#include "log.h"
#include "helpers.h" #include "helpers.h"
#include "private.h" #include "private.h"
#include "schedule.h" #include "schedule.h"
+1
View File
@@ -38,6 +38,7 @@
#endif #endif
#include "config.h" /* Generated by configure script */ #include "config.h" /* Generated by configure script */
#include "log.h"
#include "finit.h" #include "finit.h"
#include "conf.h" #include "conf.h"
#include "helpers.h" #include "helpers.h"