diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2021-11-08 14:07:30 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2021-11-08 14:07:30 +0100 |
| commit | 14ae4f17a8b9162645eb120dd5e64532527a32ee (patch) | |
| tree | de0b60bdfc641bb7281a8bfcaa455cf9f625c023 /lib/vector.h | |
| parent | ecabab03202598320022985722f8665aacf7e2d6 (diff) | |
lib: remove `vector_get_index()`
... its only purpose was to serve as a footgun, and all such uses have
been eliminated now.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/vector.h')
| -rw-r--r-- | lib/vector.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/vector.h b/lib/vector.h index 6208be1cc7..71c497a1b7 100644 --- a/lib/vector.h +++ b/lib/vector.h @@ -55,7 +55,6 @@ extern void vector_ensure(vector v, unsigned int num); extern int vector_empty_slot(vector v); extern int vector_set(vector v, void *val); extern int vector_set_index(vector v, unsigned int i, void *val); -extern void **vector_get_index(vector v, unsigned int i); extern void vector_unset(vector v, unsigned int i); extern void vector_unset_value(vector v, void *val); extern void vector_remove(vector v, unsigned int ix); |
