summaryrefslogtreecommitdiff
path: root/include/ipmitool/ipmi_entity.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ipmitool/ipmi_entity.h')
-rw-r--r--include/ipmitool/ipmi_entity.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ipmitool/ipmi_entity.h b/include/ipmitool/ipmi_entity.h
index 6e5198c..e439560 100644
--- a/include/ipmitool/ipmi_entity.h
+++ b/include/ipmitool/ipmi_entity.h
@@ -30,8 +30,7 @@
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef IPMI_ENTITY_H
-#define IPMI_ENTITY_H
+#pragma once
#ifdef HAVE_PRAGMA_PACK
#pragma pack(1)
@@ -49,5 +48,3 @@ struct entity_id {
#ifdef HAVE_PRAGMA_PACK
#pragma pack(0)
#endif
-
-#endif /* IPMI_ENTITY_H */