summaryrefslogtreecommitdiffstats
path: root/lib/yang_wrappers.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-11-03 00:43:58 +0100
committerRenato Westphal <renato@opensourcerouting.org>2018-11-26 20:35:58 +0100
commit70065793bbd49e6648e329a60caf46be972e34f1 (patch)
tree31248a8f9ffb53b1745660d4f3551434759225df /lib/yang_wrappers.c
parenttests: fix warning related to change in the hash API (diff)
downloadfrr-70065793bbd49e6648e329a60caf46be972e34f1.tar.xz
frr-70065793bbd49e6648e329a60caf46be972e34f1.zip
lib: use prefixconstptr instead of const prefixptr
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/yang_wrappers.c')
-rw-r--r--lib/yang_wrappers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yang_wrappers.c b/lib/yang_wrappers.c
index da9d37669..96076d646 100644
--- a/lib/yang_wrappers.c
+++ b/lib/yang_wrappers.c
@@ -840,7 +840,7 @@ void yang_str2ipv4p(const char *value, union prefixptr prefix)
}
struct yang_data *yang_data_new_ipv4p(const char *xpath,
- const union prefixptr prefix)
+ union prefixconstptr prefix)
{
char value_str[PREFIX2STR_BUFFER];
@@ -950,7 +950,7 @@ void yang_str2ipv6p(const char *value, union prefixptr prefix)
}
struct yang_data *yang_data_new_ipv6p(const char *xpath,
- const union prefixptr prefix)
+ union prefixconstptr prefix)
{
char value_str[PREFIX2STR_BUFFER];