]> git.tdb.fi Git - libs/crypto.git/commitdiff
Fix some inline qualifiers
authorMikko Rasa <tdb@tdb.fi>
Sat, 16 Apr 2016 10:59:20 +0000 (13:59 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 16 Apr 2016 10:59:20 +0000 (13:59 +0300)
source/md5.cpp

index 1fe700305bee89f5f801d4bbcda323e6aef7290e..94e6ba923a14ff93ec4b6d2a976acbaf45803a1a 100644 (file)
@@ -10,28 +10,28 @@ namespace Crypto {
 namespace {
 
 template<unsigned N>
 namespace {
 
 template<unsigned N>
-inline UInt32 func(UInt32, UInt32, UInt32);
+UInt32 func(UInt32, UInt32, UInt32);
 
 template<>
 
 template<>
-UInt32 func<1>(UInt32 x, UInt32 y, UInt32 z)
+inline UInt32 func<1>(UInt32 x, UInt32 y, UInt32 z)
 {
        return (y&x) | (z&~x);
 }
 
 template<>
 {
        return (y&x) | (z&~x);
 }
 
 template<>
-UInt32 func<2>(UInt32 x, UInt32 y, UInt32 z)
+inline UInt32 func<2>(UInt32 x, UInt32 y, UInt32 z)
 {
        return (x&z) | (y&~z);
 }
 
 template<>
 {
        return (x&z) | (y&~z);
 }
 
 template<>
-UInt32 func<3>(UInt32 x, UInt32 y, UInt32 z)
+inline UInt32 func<3>(UInt32 x, UInt32 y, UInt32 z)
 {
        return x^y^z;
 }
 
 template<>
 {
        return x^y^z;
 }
 
 template<>
-UInt32 func<4>(UInt32 x, UInt32 y, UInt32 z)
+inline UInt32 func<4>(UInt32 x, UInt32 y, UInt32 z)
 {
        return y^(x|~z);
 }
 {
        return y^(x|~z);
 }