]> git.puffer.fish Git - mirror/frr.git/commit
lib: constify a few parameters of helper functions
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 7 Aug 2019 23:00:58 +0000 (20:00 -0300)
committerOlivier Dugeon <olivier.dugeon@orange.com>
Thu, 30 Apr 2020 09:27:20 +0000 (11:27 +0200)
commit0b7005375f37efe712820b283bc8677fc93ab57b
treecdbd35d4b9c947ea1cc6e9ae71d050531242f126
parent31b5355d6f643a7ce35a8aa2b293d0421ea9c579
lib: constify a few parameters of helper functions

Parameters should be const whenever possible to improve code
readability and remove the need to cast away the constness of
const arguments.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
lib/if.c
lib/if.h
lib/prefix.h