mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
Helper macros moved to libite/lite.h
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
064e94e030
commit
bafdf0007f
9 files changed
+9
No files matched your search
@@ -24,6 +24,7 @@
|
|||||||
#include "../finit.h"
|
#include "../finit.h"
|
||||||
#include "../helpers.h"
|
#include "../helpers.h"
|
||||||
#include "../plugin.h"
|
#include "../plugin.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
static void save(void *UNUSED(arg))
|
static void save(void *UNUSED(arg))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
#include "../finit.h"
|
#include "../finit.h"
|
||||||
#include "../helpers.h"
|
#include "../helpers.h"
|
||||||
#include "../plugin.h"
|
#include "../plugin.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
#ifdef ENABLE_STATIC
|
#ifdef ENABLE_STATIC
|
||||||
#error This plugin uses getuser(), which relies on dynamically linked GLIBC. Cannot be built statically!
|
#error This plugin uses getuser(), which relies on dynamically linked GLIBC. Cannot be built statically!
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
#include "../finit.h"
|
#include "../finit.h"
|
||||||
#include "../helpers.h"
|
#include "../helpers.h"
|
||||||
#include "../plugin.h"
|
#include "../plugin.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
static void setup(void *UNUSED(arg))
|
static void setup(void *UNUSED(arg))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
#include "../finit.h"
|
#include "../finit.h"
|
||||||
#include "../helpers.h"
|
#include "../helpers.h"
|
||||||
#include "../plugin.h"
|
#include "../plugin.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
static void save(void *UNUSED(arg))
|
static void save(void *UNUSED(arg))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
#include "../sig.h"
|
#include "../sig.h"
|
||||||
#include "../finit.h"
|
#include "../finit.h"
|
||||||
#include "../service.h"
|
#include "../service.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
static void parse(void *arg, int fd, int events);
|
static void parse(void *arg, int fd, int events);
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
#include "../finit.h"
|
#include "../finit.h"
|
||||||
#include "../helpers.h"
|
#include "../helpers.h"
|
||||||
#include "../plugin.h"
|
#include "../plugin.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
static void setup(void *UNUSED(arg))
|
static void setup(void *UNUSED(arg))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
#include "../helpers.h"
|
#include "../helpers.h"
|
||||||
#include "../plugin.h"
|
#include "../plugin.h"
|
||||||
#include "../tty.h"
|
#include "../tty.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
static void watcher(void *arg, int fd, int events);
|
static void watcher(void *arg, int fd, int events);
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
#include "../finit.h"
|
#include "../finit.h"
|
||||||
#include "../helpers.h"
|
#include "../helpers.h"
|
||||||
#include "../plugin.h"
|
#include "../plugin.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
static void setup(void *UNUSED(arg))
|
static void setup(void *UNUSED(arg))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -48,6 +48,7 @@
|
|||||||
#include "private.h"
|
#include "private.h"
|
||||||
#include "sig.h"
|
#include "sig.h"
|
||||||
#include "service.h"
|
#include "service.h"
|
||||||
|
#include "libite/lite.h"
|
||||||
|
|
||||||
static int stopped = 0;
|
static int stopped = 0;
|
||||||
static uev_t sighup_watcher, sigint_watcher, sigpwr_watcher;
|
static uev_t sighup_watcher, sigint_watcher, sigpwr_watcher;
|
||||||
|
|||||||
Reference in new issue
Block a user