summaryrefslogtreecommitdiff
path: root/src/journal/fsprg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/fsprg.h')
-rw-r--r--src/journal/fsprg.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/journal/fsprg.h b/src/journal/fsprg.h
index bf78c3e9c3..33412675b8 100644
--- a/src/journal/fsprg.h
+++ b/src/journal/fsprg.h
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
-
-#ifndef __fsprgh__
-#define __fsprgh__
+#pragma once
/*
* fsprg v0.1 - (seekable) forward-secure pseudorandom generator
@@ -22,7 +20,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
- *
*/
#include <inttypes.h>
@@ -63,5 +60,3 @@ void FSPRG_GetKey(const void *state, void *key, size_t keylen, uint32_t idx);
#ifdef __cplusplus
}
#endif
-
-#endif