gcc-10 has changed the default of -fcommon to -fno-common which now
flags some long existing issues.
See https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Christian Ehrhardt <[email protected]>
---
 pimd/pim_version.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pimd/pim_version.h b/pimd/pim_version.h
index ef9f370c..891d4314 100644
--- a/pimd/pim_version.h
+++ b/pimd/pim_version.h
@@ -25,6 +25,6 @@
 
 #define PIMD_VERSION_STR "0.166"
 
-const char * const PIMD_VERSION;
+extern const char * const PIMD_VERSION;
 
 #endif /* PIM_VERSION_H */
-- 
2.28.0

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to