summaryrefslogtreecommitdiff
path: root/include/ipmitool/ipmi_sensor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ipmitool/ipmi_sensor.h')
-rw-r--r--include/ipmitool/ipmi_sensor.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/ipmitool/ipmi_sensor.h b/include/ipmitool/ipmi_sensor.h
index 63fc4aa..48f7337 100644
--- a/include/ipmitool/ipmi_sensor.h
+++ b/include/ipmitool/ipmi_sensor.h
@@ -30,8 +30,7 @@
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef IPMI_SENSOR_H
-#define IPMI_SENSOR_H
+#pragma once
#include <math.h>
#include <ipmitool/bswap.h>
@@ -86,4 +85,3 @@ struct sensor_set_thresh_rq {
int ipmi_sensor_main(struct ipmi_intf *, int, char **);
int ipmi_sensor_print_fc(struct ipmi_intf *, struct sdr_record_common_sensor *, uint8_t);
int ipmi_sensor_get_sensor_reading_factors( struct ipmi_intf * intf, struct sdr_record_full_sensor * sensor, uint8_t reading);
-#endif /* IPMI_SENSOR_H */