summaryrefslogtreecommitdiff
path: root/include/ipmitool/ipmi_sdradd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ipmitool/ipmi_sdradd.h')
-rw-r--r--include/ipmitool/ipmi_sdradd.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/ipmitool/ipmi_sdradd.h b/include/ipmitool/ipmi_sdradd.h
index b39e82b..032246f 100644
--- a/include/ipmitool/ipmi_sdradd.h
+++ b/include/ipmitool/ipmi_sdradd.h
@@ -27,9 +27,8 @@
* LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-
-#ifndef IPMI_SDRADD_H
-#define IPMI_SDRADD_H
+
+#pragma once
/*
* Methods to add SDRs to repository from built-in sensors or files
@@ -42,5 +41,3 @@ ipmi_sdr_add_from_file(struct ipmi_intf *intf, const char *ifile);
int
ipmi_sdr_add_from_list(struct ipmi_intf *intf, const char *rangeList);
-
-#endif /* IPMI_SDRADD_H */