]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Mark cap table len as static
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 16 Jan 2021 18:02:06 +0000 (18:02 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 16 Jan 2021 18:06:24 +0000 (18:06 +0000)
src/lib/util/cap.c

index 6a4973a8d3a9ac6346597970b07cbf74ada3c8c8..9e718d12da85ccc981a211b13202ad6e43df3475 100644 (file)
@@ -36,7 +36,7 @@ static fr_table_num_sorted_t const cap_set_table[] = {
        { L("inherited"),       CAP_INHERITABLE },
        { L("permitted"),       CAP_PERMITTED   }
 };
-size_t cap_set_table_len = NUM_ELEMENTS(cap_set_table);
+static size_t cap_set_table_len = NUM_ELEMENTS(cap_set_table);
 
 /** Ensure we don't loose updates, and the threads have a consistent view of the capability set
  *