From: Arran Cudbard-Bell Date: Sat, 16 Jan 2021 18:02:06 +0000 (+0000) Subject: Mark cap table len as static X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0f9d3038737dc526f63d4739defb76f48eea250;p=thirdparty%2Ffreeradius-server.git Mark cap table len as static --- diff --git a/src/lib/util/cap.c b/src/lib/util/cap.c index 6a4973a8d3a..9e718d12da8 100644 --- a/src/lib/util/cap.c +++ b/src/lib/util/cap.c @@ -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 *