summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-12-01 07:57:45 -0500
committerDonald Sharp <sharpd@nvidia.com>2020-12-01 07:57:45 -0500
commit91f20e5cd5cc4669d66c30739f60752b910a4a1a (patch)
tree848a6c9ff5a0d8bf08ba5aaf0fd5063c09d5eba8
parentfc54da096684bcdcb7402d07ca6a9b88c67be0c6 (diff)
pimd: Remove pim_version.c it is never used
The pim_version.[c|h] files are never used and we are getting warnings about PIM_VERSION changing pointer sizes from newer versions of the compiler. I see no reason to keep this Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--pimd/pim_main.c1
-rw-r--r--pimd/pim_version.c24
-rw-r--r--pimd/pim_version.h27
-rw-r--r--pimd/subdir.am2
4 files changed, 0 insertions, 54 deletions
diff --git a/pimd/pim_main.c b/pimd/pim_main.c
index b7ca90ad93..9c11cc47d5 100644
--- a/pimd/pim_main.c
+++ b/pimd/pim_main.c
@@ -42,7 +42,6 @@
#include "pimd.h"
#include "pim_instance.h"
-#include "pim_version.h"
#include "pim_signals.h"
#include "pim_zebra.h"
#include "pim_msdp.h"
diff --git a/pimd/pim_version.c b/pimd/pim_version.c
deleted file mode 100644
index 439f745ac1..0000000000
--- a/pimd/pim_version.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * PIM for Quagga
- * Copyright (C) 2008 Everton da Silva Marques
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#include <zebra.h>
-
-#include "pim_version.h"
-
-const char *const PIMD_VERSION = PIMD_VERSION_STR;
diff --git a/pimd/pim_version.h b/pimd/pim_version.h
deleted file mode 100644
index c45d01a13a..0000000000
--- a/pimd/pim_version.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * PIM for Quagga
- * Copyright (C) 2008 Everton da Silva Marques
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef PIM_VERSION_H
-#define PIM_VERSION_H
-
-#define PIMD_VERSION_STR "0.166"
-
-const char *const PIMD_VERSION;
-
-#endif /* PIM_VERSION_H */
diff --git a/pimd/subdir.am b/pimd/subdir.am
index 5a81df3ec8..717f4782f8 100644
--- a/pimd/subdir.am
+++ b/pimd/subdir.am
@@ -61,7 +61,6 @@ pimd_libpim_a_SOURCES = \
pimd/pim_tlv.c \
pimd/pim_upstream.c \
pimd/pim_util.c \
- pimd/pim_version.c \
pimd/pim_vty.c \
pimd/pim_zebra.c \
pimd/pim_zlookup.c \
@@ -119,7 +118,6 @@ noinst_HEADERS += \
pimd/pim_tlv.h \
pimd/pim_upstream.h \
pimd/pim_util.h \
- pimd/pim_version.h \
pimd/pim_vty.h \
pimd/pim_zebra.h \
pimd/pim_zlookup.h \