lib/ll_map: make local function static

ll_idx_a2n is only used in ll_map.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Stephen Hemminger 2018-11-15 14:36:22 -08:00
parent f7bf88dfd5
commit cc5b7e37ac
2 changed files with 1 additions and 2 deletions

View File

@ -12,6 +12,5 @@ int ll_index_to_flags(unsigned idx);
unsigned namehash(const char *str);
const char *ll_idx_n2a(unsigned int idx);
unsigned int ll_idx_a2n(const char *name);
#endif /* __LL_MAP_H__ */

View File

@ -143,7 +143,7 @@ const char *ll_idx_n2a(unsigned int idx)
return buf;
}
unsigned int ll_idx_a2n(const char *name)
static unsigned int ll_idx_a2n(const char *name)
{
unsigned int idx;