Relocate global configuration variables from finit.c -> conf.c

These variables really belong in conf.c.  Relocate and move external
decls. from finit.h -> conf.h to simplify linking of other programs.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2025-07-06 03:14:03 +02:00
parent d37d241647
commit 3df3c51dae
12 changed files with 47 additions and 39 deletions
+1
View File
@@ -31,6 +31,7 @@
#include "finit.h"
#include "helpers.h"
#include "plugin.h"
#include "conf.h"
#include "log.h"
#ifndef SYSCTL_PATH
+2
View File
@@ -35,6 +35,8 @@
#include "finit.h"
#include "helpers.h"
#include "plugin.h"
#include "private.h"
#include "conf.h"
#include "log.h"
/*
+1
View File
@@ -38,6 +38,7 @@
#include "finit.h"
#include "helpers.h"
#include "plugin.h"
#include "conf.h"
#include "log.h"
#ifndef RANDOM_BYTES
+1
View File
@@ -33,6 +33,7 @@
#include "finit.h"
#include "helpers.h"
#include "plugin.h"
#include "conf.h"
#include "log.h"
static void setup(void *arg)