]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Remove pim_version.c it is never used 7642/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 1 Dec 2020 12:57:45 +0000 (07:57 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 1 Dec 2020 12:57:45 +0000 (07:57 -0500)
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>
pimd/pim_main.c
pimd/pim_version.c [deleted file]
pimd/pim_version.h [deleted file]
pimd/subdir.am

index b7ca90ad9308c5ed10038a5b6546dfb31f10dcd0..9c11cc47d58e2e34eeea3570bb7e08548cc36924 100644 (file)
@@ -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 (file)
index 439f745..0000000
+++ /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 (file)
index c45d01a..0000000
+++ /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 */
index 5a81df3ec8d4029196bdd8bb4d9a845cd44bed50..717f4782f8bc3ca40454050d4445a0f0eae89410 100644 (file)
@@ -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 \