]> git.lizzy.rs Git - minetest.git/blobdiff - src/util/sha1.h
Increase `ftos` precision (#13141)
[minetest.git] / src / util / sha1.h
index a55f94f44488adad6331429745c55f7aa24b1ec2..20f89eae629f6d93c2185ed8315e59479cb2e1d0 100644 (file)
@@ -24,7 +24,8 @@ SOFTWARE.
 
 */
 
-#ifndef SHA1_HEADER
+#pragma once
+
 typedef unsigned int Uint32;
 
 class SHA1
@@ -51,6 +52,3 @@ class SHA1
        static void storeBigEndianUint32(unsigned char *byte, Uint32 num);
        static void hexPrinter(unsigned char *c, int l);
 };
-
-#define SHA1_HEADER
-#endif