Move includes into subdirectory

This commit is contained in:
Jo-Philipp Wich 2013-09-04 12:46:11 +02:00
parent b3a5c08e08
commit e0afdb10ae
13 changed files with 12 additions and 12 deletions

View file

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.6)
PROJECT(rpcd C) 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(FILE_SUPPORT "File plugin support" ON)
OPTION(LUCI2_SUPPORT "LuCI2 plugin support" ON) OPTION(LUCI2_SUPPORT "LuCI2 plugin support" ON)

2
exec.c
View file

@ -26,7 +26,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/wait.h> #include <sys/wait.h>
#include "exec.h" #include <rpcd/exec.h>
static int static int
rpc_errno_status(void) rpc_errno_status(void)

2
file.c
View file

@ -29,7 +29,7 @@
#include <libubox/blobmsg.h> #include <libubox/blobmsg.h>
#include <libubox/ustream.h> #include <libubox/ustream.h>
#include "plugin.h" #include <rpcd/plugin.h>
/* limit of sys & proc files */ /* limit of sys & proc files */
#define RPC_FILE_MIN_SIZE (128) #define RPC_FILE_MIN_SIZE (128)

View file

@ -22,7 +22,7 @@
#include <iwinfo.h> #include <iwinfo.h>
#include <iwinfo/utils.h> #include <iwinfo/utils.h>
#include "plugin.h" #include <rpcd/plugin.h>
static struct blob_buf buf; static struct blob_buf buf;

View file

@ -34,7 +34,7 @@
#include <libubus.h> #include <libubus.h>
#include <uci.h> #include <uci.h>
#include "plugin.h" #include <rpcd/plugin.h>
/* limit of log size buffer */ /* limit of log size buffer */
#define RPC_LUCI2_MAX_LOGSIZE (128 * 1024) #define RPC_LUCI2_MAX_LOGSIZE (128 * 1024)

6
main.c
View file

@ -23,9 +23,9 @@
#include <libubus.h> #include <libubus.h>
#include <signal.h> #include <signal.h>
#include "session.h" #include <rpcd/session.h>
#include "uci.h" #include <rpcd/uci.h>
#include "plugin.h" #include <rpcd/plugin.h>
static struct ubus_context *ctx; static struct ubus_context *ctx;

View file

@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "plugin.h" #include <rpcd/plugin.h>
static struct blob_buf buf; static struct blob_buf buf;

View file

@ -22,7 +22,7 @@
#include <libubus.h> #include <libubus.h>
#include <fnmatch.h> #include <fnmatch.h>
#include "session.h" #include <rpcd/session.h>
static struct avl_tree sessions; static struct avl_tree sessions;
static struct blob_buf buf; static struct blob_buf buf;

4
uci.c
View file

@ -16,8 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
#include "uci.h" #include <rpcd/uci.h>
#include "session.h" #include <rpcd/session.h>
static struct blob_buf buf; static struct blob_buf buf;
static struct uci_context *cursor; static struct uci_context *cursor;