From 402b084b1e5417dc2fb7d84373c1b9fb8642696a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Feb 2008 00:43:47 +0100 Subject: [PATCH] fix compiler error under linux --- cli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli.c b/cli.c index bedef6d..7870728 100644 --- 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"); -- 2.41.1