projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3805b1b
)
fix compiler error under linux
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 2 Feb 2008 23:43:47 +0000
(
00:43
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 2 Feb 2008 23:43:47 +0000
(
00:43
+0100)
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index bedef6dbbed012490ead5622e8ec09ea94a6faf8..78707281ef0e178294f23fbe4bae0bd9e53126b7 100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-19,7
+19,7
@@
static const char *appname = "uci";
static enum {
CLI_FLAG_MERGE = (1 << 0),
} flags;
-static FILE *input
= stdin
;
+static FILE *input;
static struct uci_context *ctx;
enum {
@@
-295,6
+295,7
@@
int main(int argc, char **argv)
int ret;
int c;
+ input = stdin;
ctx = uci_alloc_context();
if (!ctx) {
fprintf(stderr, "Out of memory\n");