[applied] abg-config.{cc,h}: Misc comment cleanups

Message ID 877ddd6zmf.fsf@redhat.com
State New
Headers
Series [applied] abg-config.{cc,h}: Misc comment cleanups |

Commit Message

Dodji Seketeli Nov. 12, 2021, 5:40 p.m. UTC
  Hello,

A little bit of cleanup was due here.

	* include/abg-config.h (abigail_get_library_version): Remove the
	comment from the header file ...
	* src/abg-config.cc (abigail_get_library_version): ... to put it
	in the definition.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Applied to master.

---
 include/abg-config.h | 9 ---------
 src/abg-config.cc    | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
  

Patch

diff --git a/include/abg-config.h b/include/abg-config.h
index 4d94c71c..9f86d48a 100644
--- a/include/abg-config.h
+++ b/include/abg-config.h
@@ -58,15 +58,6 @@  public:
 
 extern "C"
 {
-  /// Return the relevant version numbers of the library.
-  ///
-  /// \param maj the major version number of the library.
-  ///
-  /// \param min the minor version number of the library.
-  ///
-  /// \param rev the revision version number of the library.
-  ///
-  /// \param suf the version suffix of the library.
   void
   abigail_get_library_version(std::string& maj,
 			      std::string& min,
diff --git a/src/abg-config.cc b/src/abg-config.cc
index d2e15737..7fe2e64a 100644
--- a/src/abg-config.cc
+++ b/src/abg-config.cc
@@ -68,6 +68,15 @@  config::set_tu_instr_archive_suffix(const std::string& s)
 
 extern "C"
 {
+/// Return the relevant version numbers of the library.
+///
+/// @param maj the major version number of the library.
+///
+/// @param min the minor version number of the library.
+///
+/// @param rev the revision version number of the library.
+///
+/// @param suf the version suffix of the library.
 void
 abigail_get_library_version(std::string& major,
 			    std::string& minor,