Backed out changeset 5844c438d077 (bug 777122) a=bustage
authorJustin Lebar <justin.lebar@gmail.com>
Thu, 25 Oct 2012 12:04:54 -0400
changeset 116348 27e470b018654eb8fda261593e5e579f6acab8e5
parent 116347 b0240133c2c8b2b063697d9de048be4882c41205
child 116349 168eaeaa05807ec2a527aef13e2515935e63eac6
push id1708
push userakeybl@mozilla.com
push dateMon, 19 Nov 2012 21:10:21 +0000
treeherdermozilla-beta@27b14fe50103 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs777122
milestone18.0a2
backs out5844c438d0776af76650808aec18ff291094c050
Backed out changeset 5844c438d077 (bug 777122) a=bustage
mfbt/SHA1.h
--- a/mfbt/SHA1.h
+++ b/mfbt/SHA1.h
@@ -20,29 +20,27 @@
  * The finish method may only be called once and cannot be followed by calls
  * to update.
  */
 
 #ifndef mozilla_SHA1_h_
 #define mozilla_SHA1_h_
 
 #include "mozilla/StandardInteger.h"
-#include "mozilla/Types.h"
-
 namespace mozilla {
 class SHA1Sum {
   union {
     uint32_t w[16];         /* input buffer */
     uint8_t  b[64];
   } u;
   uint64_t size;            /* count of hashed bytes. */
   unsigned H[22];           /* 5 state variables, 16 tmp values, 1 extra */
   bool mDone;
 
 public:
   static const unsigned int HashSize = 20;
-  MFBT_API() SHA1Sum();
-  MFBT_API(void) update(const void* dataIn, uint32_t len);
-  MFBT_API(void) finish(uint8_t hashout[20]);
+  SHA1Sum();
+  void update(const void* dataIn, uint32_t len);
+  void finish(uint8_t hashout[20]);
 };
 }
 
 #endif /* mozilla_SHA1_h_ */