diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-05 08:21:04 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-05 08:21:04 +0200 |
commit | 641e383b8ad13ad6ee7fd9241214e24e6a983500 (patch) | |
tree | a8894d68d658c9863a82e88ab84fec4fcc774f50 /grammar/utils.c | |
parent | 183641a091a3d7b5eabe4419db4ebd2b6f84934e (diff) | |
download | rsyslog-641e383b8ad13ad6ee7fd9241214e24e6a983500.tar.gz rsyslog-641e383b8ad13ad6ee7fd9241214e24e6a983500.tar.xz rsyslog-641e383b8ad13ad6ee7fd9241214e24e6a983500.zip |
milestone: grammar integrated in rsyslog build system
Diffstat (limited to 'grammar/utils.c')
-rw-r--r-- | grammar/utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/grammar/utils.c b/grammar/utils.c index 16cad201..e488ebda 100644 --- a/grammar/utils.c +++ b/grammar/utils.c @@ -389,7 +389,7 @@ cnfexprEval(struct cnfexpr *expr, struct exprret *ret) } inline static void -doIndent(indent) +doIndent(int indent) { int i; for(i = 0 ; i < indent ; ++i) @@ -611,6 +611,7 @@ cnffuncNew(es_str_t *fname, struct cnffparamlst* paramlst) } /* debug helper */ +#ifdef STAND_ALONE void cstrPrint(char *text, es_str_t *estr) { @@ -632,4 +633,5 @@ main(int argc, char *argv[]) printf("yyparse() returned %d\n", r); return r; } +#endif /* #ifdef STAND_ALONE */ |