summaryrefslogtreecommitdiff
path: root/pathd
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-11-03 08:54:09 -0400
committerGitHub <noreply@github.com>2022-11-03 08:54:09 -0400
commitd7cde18c63c4eef83e12f562aa025cf1dbeaee05 (patch)
tree591e68540bb026cfe9f212a69c150bfcfa8bbf36 /pathd
parent70f29b9f7bf157cd439518cba0ecd52efcf22429 (diff)
parent6c7bc49428b594e0747af9813b4c510bd2817f4e (diff)
Merge pull request #12196 from opensourcerouting/xref-vtysh
*: rewrite `extract.pl` using `xref` infra
Diffstat (limited to 'pathd')
-rw-r--r--pathd/path_cli.c2
-rw-r--r--pathd/path_pcep_cli.c2
-rw-r--r--pathd/path_ted.c2
-rw-r--r--pathd/subdir.am5
4 files changed, 0 insertions, 11 deletions
diff --git a/pathd/path_cli.c b/pathd/path_cli.c
index 13e52ac86b..a6540cc84a 100644
--- a/pathd/path_cli.c
+++ b/pathd/path_cli.c
@@ -31,9 +31,7 @@
#include "pathd/pathd.h"
#include "pathd/path_nb.h"
-#ifndef VTYSH_EXTRACT_PL
#include "pathd/path_cli_clippy.c"
-#endif
#include "pathd/path_ted.h"
#define XPATH_MAXATTRSIZE 64
diff --git a/pathd/path_pcep_cli.c b/pathd/path_pcep_cli.c
index d2b49a7d95..0f259f1dc7 100644
--- a/pathd/path_pcep_cli.c
+++ b/pathd/path_pcep_cli.c
@@ -40,9 +40,7 @@
#include "pathd/path_pcep_lib.h"
#include "pathd/path_pcep_pcc.h"
-#ifndef VTYSH_EXTRACT_PL
#include "pathd/path_pcep_cli_clippy.c"
-#endif
#define DEFAULT_PCE_PRECEDENCE 255
#define DEFAULT_PCC_MSD 4
diff --git a/pathd/path_ted.c b/pathd/path_ted.c
index bb04d285c9..68748af53e 100644
--- a/pathd/path_ted.c
+++ b/pathd/path_ted.c
@@ -29,9 +29,7 @@
#include "pathd/path_errors.h"
#include "pathd/path_ted.h"
-#ifndef VTYSH_EXTRACT_PL
#include "pathd/path_ted_clippy.c"
-#endif
static struct ls_ted *path_ted_create_ted(void);
static void path_ted_register_vty(void);
diff --git a/pathd/subdir.am b/pathd/subdir.am
index f339c79225..29be8f463d 100644
--- a/pathd/subdir.am
+++ b/pathd/subdir.am
@@ -5,16 +5,11 @@
if PATHD
noinst_LIBRARIES += pathd/libpath.a
sbin_PROGRAMS += pathd/pathd
-vtysh_scan += \
- pathd/path_cli.c \
- pathd/path_ted.c \
- #end
vtysh_daemons += pathd
# TODO add man page
#man8 += $(MANBUILD)/pathd.8
if PATHD_PCEP
-vtysh_scan += pathd/path_pcep_cli.c
module_LTLIBRARIES += pathd/pathd_pcep.la
endif