mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-24 21:35:21 +02:00
C++ modernize: Pragma once (#6264)
* Migrate cpp headers to pragma once
This commit is contained in:
@@ -24,7 +24,8 @@ SOFTWARE.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef SHA1_HEADER
|
||||
#pragma once
|
||||
|
||||
typedef unsigned int Uint32;
|
||||
|
||||
class SHA1
|
||||
@@ -51,6 +52,3 @@ public:
|
||||
static void storeBigEndianUint32(unsigned char *byte, Uint32 num);
|
||||
static void hexPrinter(unsigned char *c, int l);
|
||||
};
|
||||
|
||||
#define SHA1_HEADER
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user