From 59add5051848659b9c291109fafe3b429868b612 Mon Sep 17 00:00:00 2001 From: methylDragon Date: Fri, 10 Jun 2022 13:23:48 -0700 Subject: [PATCH] Hard-tock ignitionVersion Signed-off-by: methylDragon --- Migration.md | 2 -- src/ign.cc | 5 ----- src/ign.hh | 1 - 3 files changed, 8 deletions(-) diff --git a/Migration.md b/Migration.md index 3abd4427..d8581505 100644 --- a/Migration.md +++ b/Migration.md @@ -6,8 +6,6 @@ * **Replacement**: `gz` namespace * **Deprecation**: `ignition/...` headers * **Replacement**: `gz/...` headers -* **Deprecation**: `ignitionVersion` -* **Replacement**: `gzVersion()` * The following `ign_` prefixed macros are deprecated and will be removed in future versions. Additionally, they will only be available when including the corresponding `ignition/...` header. Use the `gz_` prefix instead. diff --git a/src/ign.cc b/src/ign.cc index 8bea25b4..bbdf36e0 100644 --- a/src/ign.cc +++ b/src/ign.cc @@ -290,11 +290,6 @@ extern "C" GZ_FUEL_TOOLS_VISIBLE char *gzVersion() return strdup(GZ_FUEL_TOOLS_VERSION_FULL); } -extern "C" GZ_FUEL_TOOLS_VISIBLE char *ignitionVersion() -{ - return gzVersion(); -} - ////////////////////////////////////////////////// extern "C" GZ_FUEL_TOOLS_VISIBLE int listModels(const char *_url, const char *_owner, const char *_raw, const char *_configFile) diff --git a/src/ign.hh b/src/ign.hh index 9744c618..66252912 100644 --- a/src/ign.hh +++ b/src/ign.hh @@ -23,7 +23,6 @@ /// \brief External hook to read the library version. /// \return C-string representing the version. Ex.: 0.1.2 extern "C" GZ_FUEL_TOOLS_VISIBLE char *gzVersion(); -extern "C" GZ_FUEL_TOOLS_VISIBLE char GZ_DEPRECATED(8) *ignitionVersion(); /// \brief Set verbosity level /// \param[in] _verbosity 0 to 4