summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vppinfra/devicetree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vppinfra/devicetree.c b/src/vppinfra/devicetree.c
index 9bf8eeeac6c..b725d5a0aed 100644
--- a/src/vppinfra/devicetree.c
+++ b/src/vppinfra/devicetree.c
@@ -11,8 +11,6 @@
#include <fcntl.h>
#include <dirent.h>
-#endif
-
static_always_inline clib_dt_node_t *
clib_dt_node_add_child (clib_dt_main_t *dm, clib_dt_node_t *n, char *name)
{
@@ -42,6 +40,7 @@ clib_dt_node_add_child (clib_dt_main_t *dm, clib_dt_node_t *n, char *name)
return cn;
}
+#endif
void
clib_dt_main_free (clib_dt_main_t *dm)