mirror of
https://github.com/troglobit/finit.git
synced 2026-10-31 13:00:32 +00:00
Prune and relocate #include files.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
0de4fb0cbf
commit
7b894fcf52
3 files changed
+3
-4
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
/* Misc. utility functions and C-library extensions for finit and its plugins
|
/* Misc. utility functions and C-library extensions for finit and its plugins
|
||||||
*
|
*
|
||||||
* Copyright (c) 2008-2010 Claudio Matsuoka <cmatsuoka@gmail.com>
|
* Copyright (c) 2008-2010 Claudio Matsuoka <cmatsuoka@gmail.com>
|
||||||
* Copyright (c) 2008-2014 Joachim Nilsson <troglobit@gmail.com>
|
* Copyright (c) 2008-2015 Joachim Nilsson <troglobit@gmail.com>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -26,6 +26,7 @@
|
|||||||
#define FINIT_HELPERS_H_
|
#define FINIT_HELPERS_H_
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h> /* strerror() */
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
|
|
||||||
#define DO_LOG(level, fmt, args...) \
|
#define DO_LOG(level, fmt, args...) \
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
* It activates the kbrequest action.
|
* It activates the kbrequest action.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <string.h> /* strerror() */
|
||||||
#include <sys/reboot.h>
|
#include <sys/reboot.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
|
|||||||
@@ -25,14 +25,11 @@
|
|||||||
#ifndef FINIT_SVC_H_
|
#ifndef FINIT_SVC_H_
|
||||||
#define FINIT_SVC_H_
|
#define FINIT_SVC_H_
|
||||||
|
|
||||||
#include <errno.h>
|
|
||||||
#include <string.h> /* strerror() */
|
|
||||||
#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 "inetd.h"
|
#include "inetd.h"
|
||||||
#include "queue.h" /* BSD sys/queue.h API */
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
SVC_STOP = 0, /* Disabled */
|
SVC_STOP = 0, /* Disabled */
|
||||||
|
|||||||
Reference in new issue
Block a user