Module: sip-router Branch: kamailio_3.0 Commit: 8b18772c4c5df2e96d89e2c56071eb5770fd7290 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8b18772c...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Wed Mar 10 09:45:28 2010 +0100
cfg. parser: fix warnings
- removed flex input warnings - workaround for bison conflicts warnings (%expect ...) (cherry picked from commit 0dabc34afe64672f07f572acfcd9478fc3575c9d)
---
cfg.lex | 1 + cfg.y | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/cfg.lex b/cfg.lex index 3d41477..ef8cc6f 100644 --- a/cfg.lex +++ b/cfg.lex @@ -83,6 +83,7 @@ * 2010-01-10 added SHM_MEM_SZ (andrei) */
+%option noinput
%{ #include "dprint.h" diff --git a/cfg.y b/cfg.y index f535d98..60ce707 100644 --- a/cfg.y +++ b/cfg.y @@ -100,6 +100,8 @@ * added SHM_MEM_SZ (andrei) */
+%expect 5 + %{
#include <stdlib.h>