[util] Mark var static
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 30 Sep 2018 09:47:36 +0000 (05:47 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 30 Sep 2018 10:08:11 +0000 (06:08 -0400)
From clang -Weverything bot:

options.cc:39:3: warning: no previous extern declaration for non-static variable 'supported_font_funcs' [-Wmissing-variable-declarations]

util/options.cc

index 0ab16d6..2897ec8 100644 (file)
@@ -33,7 +33,7 @@
 #include <hb-ot.h>
 #endif
 
-struct supported_font_funcs_t {
+static struct supported_font_funcs_t {
        char name[4];
        void (*func) (hb_font_t *);
 } supported_font_funcs[] =