projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better config file handling
[project/uci.git]
/
test.c
diff --git
a/test.c
b/test.c
index 53b2a6a41c625f5cf4680bb575838b3a1d2ffd40..caf773b6f6056a80677b0fcad19300350ece99bd 100644
(file)
--- a/
test.c
+++ b/
test.c
@@
-10,7
+10,7
@@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
-#include "
lib
uci.h"
+#include "uci.h"
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
@@
-21,7
+21,7
@@
int main(int argc, char **argv)
return 1;
}
return 1;
}
- if (uci_
parse
(ctx, argv[1])) {
+ if (uci_
load
(ctx, argv[1])) {
uci_perror(ctx, "uci_parse");
return 1;
}
uci_perror(ctx, "uci_parse");
return 1;
}