mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-18 20:16:07 +00:00
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:
parent
f7bf88dfd5
commit
cc5b7e37ac
@ -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__ */
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user