aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/sim/sim.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-09-28 23:51:42 +0700
committerlaforge <laforge@osmocom.org>2022-09-29 05:44:09 +0000
commit395db204b40efdaf4e389a1a4ecc3ebd038c1198 (patch)
treecea9213eddfdcca42ca27e282efb3ca73250cd3e /include/osmocom/sim/sim.h
parent71ad530f7e3955ffbf59473dbcb8d1a3357b1f87 (diff)
include: use '#pragma once' everywhere
Diffstat (limited to 'include/osmocom/sim/sim.h')
-rw-r--r--include/osmocom/sim/sim.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/osmocom/sim/sim.h b/include/osmocom/sim/sim.h
index 5e7099f4..639682a0 100644
--- a/include/osmocom/sim/sim.h
+++ b/include/osmocom/sim/sim.h
@@ -2,8 +2,7 @@
* Routines for helping with SIM (ISO/IEC 7816-4 more generally) communication.
*/
-#ifndef _OSMOCOM_SIM_H
-#define _OSMOCOM_SIM_H
+#pragma once
#include <osmocom/core/msgb.h>
#include <osmocom/core/linuxlist.h>
@@ -445,4 +444,3 @@ struct osim_reader_hdl *osim_reader_open(enum osim_reader_driver drv, int idx,
struct osim_card_hdl *osim_card_open(struct osim_reader_hdl *rh, enum osim_proto proto);
int osim_card_reset(struct osim_card_hdl *card, bool cold_reset);
int osim_card_close(struct osim_card_hdl *card);
-#endif /* _OSMOCOM_SIM_H */