Move includes into subdirectory
This commit is contained in:
parent
b3a5c08e08
commit
e0afdb10ae
13 changed files with 12 additions and 12 deletions
|
@ -1,7 +1,7 @@
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
PROJECT(rpcd C)
|
||||
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
|
||||
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations -Iinclude)
|
||||
|
||||
OPTION(FILE_SUPPORT "File plugin support" ON)
|
||||
OPTION(LUCI2_SUPPORT "LuCI2 plugin support" ON)
|
||||
|
|
2
exec.c
2
exec.c
|
@ -26,7 +26,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
#include "exec.h"
|
||||
#include <rpcd/exec.h>
|
||||
|
||||
static int
|
||||
rpc_errno_status(void)
|
||||
|
|
2
file.c
2
file.c
|
@ -29,7 +29,7 @@
|
|||
#include <libubox/blobmsg.h>
|
||||
#include <libubox/ustream.h>
|
||||
|
||||
#include "plugin.h"
|
||||
#include <rpcd/plugin.h>
|
||||
|
||||
/* limit of sys & proc files */
|
||||
#define RPC_FILE_MIN_SIZE (128)
|
||||
|
|
2
iwinfo.c
2
iwinfo.c
|
@ -22,7 +22,7 @@
|
|||
#include <iwinfo.h>
|
||||
#include <iwinfo/utils.h>
|
||||
|
||||
#include "plugin.h"
|
||||
#include <rpcd/plugin.h>
|
||||
|
||||
|
||||
static struct blob_buf buf;
|
||||
|
|
2
luci2.c
2
luci2.c
|
@ -34,7 +34,7 @@
|
|||
#include <libubus.h>
|
||||
#include <uci.h>
|
||||
|
||||
#include "plugin.h"
|
||||
#include <rpcd/plugin.h>
|
||||
|
||||
/* limit of log size buffer */
|
||||
#define RPC_LUCI2_MAX_LOGSIZE (128 * 1024)
|
||||
|
|
6
main.c
6
main.c
|
@ -23,9 +23,9 @@
|
|||
#include <libubus.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "session.h"
|
||||
#include "uci.h"
|
||||
#include "plugin.h"
|
||||
#include <rpcd/session.h>
|
||||
#include <rpcd/uci.h>
|
||||
#include <rpcd/plugin.h>
|
||||
|
||||
static struct ubus_context *ctx;
|
||||
|
||||
|
|
2
plugin.c
2
plugin.c
|
@ -16,7 +16,7 @@
|
|||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "plugin.h"
|
||||
#include <rpcd/plugin.h>
|
||||
|
||||
static struct blob_buf buf;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <libubus.h>
|
||||
#include <fnmatch.h>
|
||||
|
||||
#include "session.h"
|
||||
#include <rpcd/session.h>
|
||||
|
||||
static struct avl_tree sessions;
|
||||
static struct blob_buf buf;
|
||||
|
|
4
uci.c
4
uci.c
|
@ -16,8 +16,8 @@
|
|||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "uci.h"
|
||||
#include "session.h"
|
||||
#include <rpcd/uci.h>
|
||||
#include <rpcd/session.h>
|
||||
|
||||
static struct blob_buf buf;
|
||||
static struct uci_context *cursor;
|
||||
|
|
Loading…
Reference in a new issue