summaryrefslogtreecommitdiffstats
path: root/include/osmocom/crypt
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/crypt')
-rw-r--r--include/osmocom/crypt/auth.h5
-rw-r--r--include/osmocom/crypt/gprs_cipher.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/include/osmocom/crypt/auth.h b/include/osmocom/crypt/auth.h
index 871e7c87..bed48e78 100644
--- a/include/osmocom/crypt/auth.h
+++ b/include/osmocom/crypt/auth.h
@@ -1,5 +1,4 @@
-#ifndef _OSMOCRYPTO_AUTH_H
-#define _OSMOCRYPTO_AUTH_H
+#pragma once
/*! \addtogroup auth
* @{
@@ -96,6 +95,4 @@ int osmo_auth_supported(enum osmo_auth_algo algo);
const char *osmo_auth_alg_name(enum osmo_auth_algo alg);
enum osmo_auth_algo osmo_auth_alg_parse(const char *name);
-#endif /* _OSMOCRYPTO_AUTH_H */
-
/* @} */
diff --git a/include/osmocom/crypt/gprs_cipher.h b/include/osmocom/crypt/gprs_cipher.h
index 30510711..940b07b1 100644
--- a/include/osmocom/crypt/gprs_cipher.h
+++ b/include/osmocom/crypt/gprs_cipher.h
@@ -1,5 +1,4 @@
-#ifndef _GPRS_CIPHER_H
-#define _GPRS_CIPHER_H
+#pragma once
#include <osmocom/core/linuxlist.h>
@@ -50,5 +49,3 @@ uint32_t gprs_cipher_gen_input_ui(uint32_t iov_ui, uint8_t sapi, uint32_t lfn, u
/* GSM TS 04.64 / Section A.2.1 : Generation of 'input' */
uint32_t gprs_cipher_gen_input_i(uint32_t iov_i, uint32_t lfn, uint32_t oc);
-
-#endif /* _GPRS_CIPHER_H */