Update include path for libuEv and libite

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-04-09 20:33:07 +02:00
1 parent ba11d218bc
commit 2e2d87ee78
30 files changed
+32 -32

No files matched your search

+2 -2
View File
@@ -39,8 +39,8 @@
#include "sig.h" #include "sig.h"
#include "service.h" #include "service.h"
#include "libite/lite.h" #include "lite/lite.h"
#include "libuev/uev.h" #include "uev/uev.h"
uev_t api_watcher; uev_t api_watcher;
+1 -1
View File
@@ -29,7 +29,7 @@
#include <stdio.h> #include <stdio.h>
#include "finit.h" #include "finit.h"
#include "libite/lite.h" #include "lite/lite.h"
static int do_send(int cmd, int runlevel) static int do_send(int cmd, int runlevel)
{ {
+1 -1
View File
@@ -22,7 +22,7 @@
*/ */
#include <libgen.h> #include <libgen.h>
#include <libite/lite.h> #include <lite/lite.h>
#include <stdio.h> #include <stdio.h>
#include <utime.h> #include <utime.h>
+1 -1
View File
@@ -21,7 +21,7 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <libite/lite.h> #include <lite/lite.h>
#include <stdio.h> #include <stdio.h>
#include "finit.h" #include "finit.h"
+1 -1
View File
@@ -31,7 +31,7 @@
#include "cond.h" #include "cond.h"
#include "service.h" #include "service.h"
#include "tty.h" #include "tty.h"
#include "libite/lite.h" #include "lite/lite.h"
#include "helpers.h" #include "helpers.h"
#define MATCH_CMD(l, c, x) \ #define MATCH_CMD(l, c, x) \
+1 -1
View File
@@ -41,7 +41,7 @@
#include "finit.h" #include "finit.h"
#include "sig.h" #include "sig.h"
#include "helpers.h" #include "helpers.h"
#include "libite/lite.h" #include "lite/lite.h"
#define NUM_ARGS 16 #define NUM_ARGS 16
+1 -1
View File
@@ -37,7 +37,7 @@
#include "service.h" #include "service.h"
#include "sig.h" #include "sig.h"
#include "tty.h" #include "tty.h"
#include "libite/lite.h" #include "lite/lite.h"
#include "inetd.h" #include "inetd.h"
int debug = 0; int debug = 0;
+1 -1
View File
@@ -34,7 +34,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include "libite/lite.h" #include "lite/lite.h"
#define CMD_SIZE 256 #define CMD_SIZE 256
#define LINE_SIZE 1024 #define LINE_SIZE 1024
+1 -1
View File
@@ -37,7 +37,7 @@
#include "finit.h" #include "finit.h"
#include "helpers.h" #include "helpers.h"
#include "private.h" #include "private.h"
#include "libite/lite.h" #include "lite/lite.h"
static int encode(int lvl) static int encode(int lvl)
{ {
+2 -2
View File
@@ -26,8 +26,8 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <sys/socket.h> #include <sys/socket.h>
#include "libuev/uev.h" #include "uev/uev.h"
#include "libite/lite.h" #include "lite/lite.h"
#include "finit.h" #include "finit.h"
#include "inetd.h" #include "inetd.h"
+1 -1
View File
@@ -28,7 +28,7 @@
#include <net/if.h> #include <net/if.h>
#include "queue.h" #include "queue.h"
#include "libuev/uev.h" #include "uev/uev.h"
typedef struct svc svc_t; typedef struct svc svc_t;
+1 -1
View File
@@ -33,7 +33,7 @@
#include "helpers.h" #include "helpers.h"
#include "service.h" #include "service.h"
#include "libite/lite.h" #include "lite/lite.h"
typedef struct { typedef struct {
char *cmd; char *cmd;
+1 -1
View File
@@ -28,7 +28,7 @@
#include <unistd.h> #include <unistd.h>
#include "helpers.h" #include "helpers.h"
#include "libite/lite.h" #include "lite/lite.h"
/** /**
+1 -1
View File
@@ -33,7 +33,7 @@
#include "helpers.h" #include "helpers.h"
#include "plugin.h" #include "plugin.h"
#include "queue.h" /* BSD sys/queue.h API */ #include "queue.h" /* BSD sys/queue.h API */
#include "libite/lite.h" #include "lite/lite.h"
#define is_io_plugin(p) ((p)->io.cb && (p)->io.fd >= 0) #define is_io_plugin(p) ((p)->io.cb && (p)->io.fd >= 0)
+1 -1
View File
@@ -26,7 +26,7 @@
#include "queue.h" /* BSD sys/queue.h API */ #include "queue.h" /* BSD sys/queue.h API */
#include "svc.h" #include "svc.h"
#include "libuev/uev.h" #include "uev/uev.h"
#define PLUGIN_DEP_MAX 10 #define PLUGIN_DEP_MAX 10
#define PLUGIN_IO_READ UEV_READ #define PLUGIN_IO_READ UEV_READ
+1 -1
View File
@@ -24,7 +24,7 @@
#include "../finit.h" #include "../finit.h"
#include "../helpers.h" #include "../helpers.h"
#include "../plugin.h" #include "../plugin.h"
#include "libite/lite.h" #include "lite/lite.h"
static void save(void *UNUSED(arg)) static void save(void *UNUSED(arg))
{ {
+1 -1
View File
@@ -28,7 +28,7 @@
#include "../finit.h" #include "../finit.h"
#include "../helpers.h" #include "../helpers.h"
#include "../plugin.h" #include "../plugin.h"
#include "libite/lite.h" #include "lite/lite.h"
/* /*
* Setup standard FHS 2.3 structure in /var, and * Setup standard FHS 2.3 structure in /var, and
+1 -1
View File
@@ -27,7 +27,7 @@
#include "../config.h" #include "../config.h"
#include "../helpers.h" #include "../helpers.h"
#include "../plugin.h" #include "../plugin.h"
#include "libite/lite.h" #include "lite/lite.h"
static void setup(void *UNUSED(arg)) static void setup(void *UNUSED(arg))
{ {
+1 -1
View File
@@ -24,7 +24,7 @@
#include "../finit.h" #include "../finit.h"
#include "../helpers.h" #include "../helpers.h"
#include "../plugin.h" #include "../plugin.h"
#include "libite/lite.h" #include "lite/lite.h"
static void save(void *UNUSED(arg)) static void save(void *UNUSED(arg))
{ {
+1 -1
View File
@@ -37,7 +37,7 @@
#include "../plugin.h" #include "../plugin.h"
#include "../sig.h" #include "../sig.h"
#include "../service.h" #include "../service.h"
#include "libite/lite.h" #include "lite/lite.h"
static void parse(void *arg, int fd, int events); static void parse(void *arg, int fd, int events);
+1 -1
View File
@@ -24,7 +24,7 @@
#include "../finit.h" #include "../finit.h"
#include "../helpers.h" #include "../helpers.h"
#include "../plugin.h" #include "../plugin.h"
#include "libite/lite.h" #include "lite/lite.h"
static void setup(void *UNUSED(arg)) static void setup(void *UNUSED(arg))
{ {
+1 -1
View File
@@ -32,7 +32,7 @@
#include "../helpers.h" #include "../helpers.h"
#include "../plugin.h" #include "../plugin.h"
#include "../tty.h" #include "../tty.h"
#include "libite/lite.h" #include "lite/lite.h"
static void watcher(void *arg, int fd, int events); static void watcher(void *arg, int fd, int events);
+1 -1
View File
@@ -30,7 +30,7 @@
#include "../finit.h" #include "../finit.h"
#include "../helpers.h" #include "../helpers.h"
#include "../plugin.h" #include "../plugin.h"
#include "libite/lite.h" #include "lite/lite.h"
static void setup(void *UNUSED(arg)) static void setup(void *UNUSED(arg))
{ {
+1 -1
View File
@@ -28,7 +28,7 @@
#include "../finit.h" #include "../finit.h"
#include "../helpers.h" #include "../helpers.h"
#include "../plugin.h" #include "../plugin.h"
#include "libite/lite.h" #include "lite/lite.h"
static void setup(void *UNUSED(arg)) static void setup(void *UNUSED(arg))
{ {
+1 -1
View File
@@ -27,7 +27,7 @@
#include <string.h> #include <string.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <net/if.h> #include <net/if.h>
#include "libite/lite.h" #include "lite/lite.h"
#include "finit.h" #include "finit.h"
#include "conf.h" #include "conf.h"
+1 -1
View File
@@ -51,7 +51,7 @@
#include "private.h" #include "private.h"
#include "sig.h" #include "sig.h"
#include "service.h" #include "service.h"
#include "libite/lite.h" #include "lite/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;
+1 -1
View File
@@ -26,7 +26,7 @@
#define FINIT_SIG_H_ #define FINIT_SIG_H_
#include <signal.h> #include <signal.h>
#include "libuev/uev.h" #include "uev/uev.h"
#define SYNC_SHUTDOWN "/var/lock/finit.shutdown" #define SYNC_SHUTDOWN "/var/lock/finit.shutdown"
#define SYNC_STOPPED "/var/lock/finit.stopped" #define SYNC_STOPPED "/var/lock/finit.stopped"
+1 -1
View File
@@ -23,7 +23,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include "libite/lite.h" #include "lite/lite.h"
#include "finit.h" #include "finit.h"
#include "svc.h" #include "svc.h"
+1 -1
View File
@@ -28,7 +28,7 @@
#include <sys/ipc.h> /* IPC_CREAT */ #include <sys/ipc.h> /* IPC_CREAT */
#include <sys/shm.h> /* shmat() */ #include <sys/shm.h> /* shmat() */
#include <sys/types.h> /* pid_t */ #include <sys/types.h> /* pid_t */
#include "libite/lite.h" #include "lite/lite.h"
#include "inetd.h" #include "inetd.h"
#include "helpers.h" #include "helpers.h"
+1 -1
View File
@@ -29,7 +29,7 @@
#include "finit.h" #include "finit.h"
#include "conf.h" #include "conf.h"
#include "helpers.h" #include "helpers.h"
#include "libite/lite.h" #include "lite/lite.h"
#include "tty.h" #include "tty.h"
LIST_HEAD(, tty_node) tty_list = LIST_HEAD_INITIALIZER(); LIST_HEAD(, tty_node) tty_list = LIST_HEAD_INITIALIZER();