Module: kamailio
Branch: master
Commit: 346d99d1f98178a71d482e5724135f65257427dd
URL:
https://github.com/kamailio/kamailio/commit/346d99d1f98178a71d482e5724135f6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-02-09T13:27:34+01:00
core: cfg.lex - declare auto-generated yy_fatal_error() with unused attribute
---
Modified: src/core/cfg.lex
---
Diff:
https://github.com/kamailio/kamailio/commit/346d99d1f98178a71d482e5724135f6…
Patch:
https://github.com/kamailio/kamailio/commit/346d99d1f98178a71d482e5724135f6…
---
diff --git a/src/core/cfg.lex b/src/core/cfg.lex
index 196ac408a8..591fb1e630 100644
--- a/src/core/cfg.lex
+++ b/src/core/cfg.lex
@@ -42,6 +42,7 @@
#include "daemonize.h"
#include "ppcfg.h"
+ static void yynoreturn yy_fatal_error ( const char* msg ) __attribute__((unused));
static void yynoreturn ksr_yy_fatal_error(const char* msg);
#define YY_FATAL_ERROR(msg) ksr_yy_fatal_error(msg);