mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-12 16:58:39 +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
|
@ -53,8 +53,7 @@
|
|||
* hash & prime number pairings.
|
||||
*/
|
||||
|
||||
#ifndef SRP_H
|
||||
#define SRP_H
|
||||
#pragma once
|
||||
|
||||
struct SRPVerifier;
|
||||
struct SRPUser;
|
||||
|
@ -190,5 +189,3 @@ void srp_user_process_challenge(struct SRPUser *usr,
|
|||
|
||||
/* bytes_HAMK must be exactly srp_user_get_session_key_length() bytes in size */
|
||||
void srp_user_verify_session(struct SRPUser *usr, const unsigned char *bytes_HAMK);
|
||||
|
||||
#endif /* Include Guard */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue