projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ea521
)
json_script: do not rely on global includes for other libubox header files
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 2 Mar 2013 15:19:30 +0000
(16:19 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 2 Mar 2013 15:21:11 +0000
(16:21 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
json_script.c
patch
|
blob
|
history
json_script.h
patch
|
blob
|
history
diff --git
a/json_script.c
b/json_script.c
index bc2375434dba1c3bcd5125ce658541082791467a..a28821457c37ee4ba09af8757840863d370323b6 100644
(file)
--- a/
json_script.c
+++ b/
json_script.c
@@
-16,8
+16,7
@@
#include <sys/stat.h>
#include <regex.h>
-#include <libubox/avl-cmp.h>
-
+#include "avl-cmp.h"
#include "json_script.h"
struct json_call {
diff --git
a/json_script.h
b/json_script.h
index e28b51100cccdaac897fb35558ef7bf60fef905e..6c46f9935caa5b3ba08f2f98c5d4c03cea2a52db 100644
(file)
--- a/
json_script.h
+++ b/
json_script.h
@@
-16,10
+16,10
@@
#ifndef __JSON_SCRIPT_H
#define __JSON_SCRIPT_H
-#include
<libubox/avl.h>
-#include
<libubox/blob.h>
-#include
<libubox/blobmsg.h>
-#include
<libubox/utils.h>
+#include
"avl.h"
+#include
"blob.h"
+#include
"blobmsg.h"
+#include
"utils.h"
struct json_script_file;