[master] 87d003e6e flexelinting

Nils Goroll nils.goroll at uplex.de
Sat Apr 4 11:54:06 UTC 2020


commit 87d003e6e1dbca2232ff6c5d9354b34c11f3b786
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sat Apr 4 13:52:48 2020 +0200

    flexelinting
    
    const char *const bindings_help[] = {
    varnishstat_curses_help.c  9  Note 9075: external symbol 'bindings_help'
        defined without a prior declaration
                                _
    const int bindings_help_len = 65;
    varnishstat_curses_help.c  78  Note 9075: external symbol
    'bindings_help_len'
        defined without a prior declaration

diff --git a/bin/varnishstat/varnishstat_help_gen.c b/bin/varnishstat/varnishstat_help_gen.c
index 1c189bcd8..2b145bed3 100644
--- a/bin/varnishstat/varnishstat_help_gen.c
+++ b/bin/varnishstat/varnishstat_help_gen.c
@@ -58,6 +58,8 @@ main(void)
 	    " */\n"
 	    "\n"
 	    "#include <stddef.h>\n"
+	    "#include \"vdef.h\"\n"
+	    "#include \"varnishstat.h\"\n"
 	    "\n"
 	    "const char *const bindings_help[] = {\n");
 


More information about the varnish-commit mailing list