summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-01-05 15:50:16 +0100
committerDonald Sharp <sharpd@nvidia.com>2024-01-09 18:50:40 +0100
commit7c1a8f7a9e1c1253d052d74f5f6cb7f7a067b7d9 (patch)
tree66ab4d9c3d9609c4f2880759600739a951b46162
parentlib: stdbool.h is not being used by zebra.h (diff)
downloadfrr-7c1a8f7a9e1c1253d052d74f5f6cb7f7a067b7d9.tar.xz
frr-7c1a8f7a9e1c1253d052d74f5f6cb7f7a067b7d9.zip
lib: string.h was only used by vector.c make it better
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--lib/vector.c1
-rw-r--r--lib/zebra.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/vector.c b/lib/vector.c
index bbea67c12..60d383101 100644
--- a/lib/vector.c
+++ b/lib/vector.c
@@ -4,6 +4,7 @@
*/
#include <zebra.h>
+#include <string.h>
#include "vector.h"
#include "memory.h"
diff --git a/lib/zebra.h b/lib/zebra.h
index 9907c6dde..0a2f54874 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -18,7 +18,6 @@
#include <stddef.h>
#include <ctype.h>
#include <errno.h>
-#include <string.h>
#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif /* HAVE_STROPTS_H */