mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
C++ modernize: Pragma once (#6264)
* Migrate cpp headers to pragma once
This commit is contained in:
parent
c738d1eeab
commit
921151d97a
236 changed files with 288 additions and 1028 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue