]> git.proxmox.com Git - mirror_frr.git/commit
lib: add vector_remove() to vector.[ch]
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 25 May 2018 22:49:53 +0000 (22:49 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 6 Jun 2018 16:16:12 +0000 (16:16 +0000)
commit62bece44494e5b7aefb5102bd1109e1e1376c3b3
treee2096997453b0df42e27248de14f6de9248499ea
parent0a334343d14ee8c49f561e7e3c8def1dda93e8db
lib: add vector_remove() to vector.[ch]

An optimized version of this has already been implemented within graph.c
that assumes some specialized constraints for that code. It's generally
useful so this change implements a general purpose version of it.

This fixes cmd_make_strvec() that was broken by some code shuffling in
previous commits.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/command.c
lib/graph.c
lib/vector.c
lib/vector.h