mirror of
https://github.com/troglobit/finit.git
synced 2026-09-30 21:13:01 +07:00
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:
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "finit.h"
|
||||
#include "cond.h"
|
||||
#include "log.h"
|
||||
#include "helpers.h"
|
||||
#include "plugin.h"
|
||||
#include "service.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "finit.h"
|
||||
#include "helpers.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
|
||||
#ifndef SYSCTL_PATH
|
||||
#define SYSCTL_PATH "/sbin/sysctl"
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "finit.h"
|
||||
#include "helpers.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
|
||||
/*
|
||||
* Kernel RTC driver validates against this date for sanity check. The
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include "plugin.h"
|
||||
#include "service.h"
|
||||
#include "tty.h"
|
||||
#include "log.h"
|
||||
|
||||
static void tty_watcher(void *arg, int fd, int events);
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
#include "finit.h"
|
||||
#include "helpers.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
|
||||
#ifndef RANDOM_BYTES
|
||||
#define RANDOM_BYTES (32*1024)
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "finit.h"
|
||||
#include "helpers.h"
|
||||
#include "plugin.h"
|
||||
#include "log.h"
|
||||
|
||||
static void setup(void *arg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user