lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 2db19f5 11/22: Remove unnecessary shared-obje


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2db19f5 11/22: Remove unnecessary shared-object attributes
Date: Sat, 28 Mar 2020 18:23:37 -0400 (EDT)

branch: master
commit 2db19f55e846ae8dde9fd294190662f58ed9d840
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove unnecessary shared-object attributes
    
    The affected functions aren't used across shared-object boundaries, and
    this test
      make "$coefficiency" all build_type=so_test USE_SO_ATTRIBUTES=1
    in 'nychthemeral_test.sh' succeeds.
---
 md5sum.cpp |  2 +-
 md5sum.hpp | 11 +++++------
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/md5sum.cpp b/md5sum.cpp
index 3927beb..d56f436 100644
--- a/md5sum.cpp
+++ b/md5sum.cpp
@@ -181,7 +181,7 @@ std::string md5_calculate_stream_checksum
     return md5_hex_string(md5);
 }
 
-std::string LMI_SO md5_calculate_file_checksum
+std::string md5_calculate_file_checksum
     (fs::path const& filename
     ,md5_file_mode   file_mode
     )
diff --git a/md5sum.hpp b/md5sum.hpp
index 0d1b2cb..67d02e4 100644
--- a/md5sum.hpp
+++ b/md5sum.hpp
@@ -23,7 +23,6 @@
 #define md5sum_hpp
 
 #include "config.hpp"
-#include "so_attributes.hpp"
 
 #include <boost/filesystem/path.hpp>
 
@@ -77,7 +76,7 @@ struct md5sum_for_file
 ///
 /// The stream_description parameter is only used in exceptions messages.
 
-std::vector<md5sum_for_file> LMI_SO md5_read_checksum_stream
+std::vector<md5sum_for_file> md5_read_checksum_stream
     (std::istream     & is
     ,std::string const& stream_description
     );
@@ -88,7 +87,7 @@ std::vector<md5sum_for_file> LMI_SO md5_read_checksum_stream
 ///
 /// Uses md5_read_checksum_stream to read the content of the file.
 
-std::vector<md5sum_for_file> LMI_SO md5_read_checksum_file
+std::vector<md5sum_for_file> md5_read_checksum_file
     (fs::path const& filename
     );
 
@@ -96,7 +95,7 @@ std::vector<md5sum_for_file> LMI_SO md5_read_checksum_file
 ///
 /// Throws an std::runtime_error in case of an error.
 
-std::string LMI_SO md5_calculate_stream_checksum
+std::string md5_calculate_stream_checksum
     (std::istream     & is
     ,std::string const& stream_description
     );
@@ -105,13 +104,13 @@ std::string LMI_SO md5_calculate_stream_checksum
 ///
 /// Throws an std::runtime_error in case of an error.
 
-std::string LMI_SO md5_calculate_file_checksum
+std::string md5_calculate_file_checksum
     (fs::path const& filename
     ,md5_file_mode   file_mode = md5_file_mode::binary
     );
 
 /// Hex representation of an md5 sum as a string.
 
-std::string LMI_SO md5_hex_string(std::vector<unsigned char> const&);
+std::string md5_hex_string(std::vector<unsigned char> const&);
 
 #endif // md5sum_hpp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]