summaryrefslogtreecommitdiff
path: root/include/ipmitool/ipmi_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ipmitool/ipmi_main.h')
-rw-r--r--include/ipmitool/ipmi_main.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ipmitool/ipmi_main.h b/include/ipmitool/ipmi_main.h
index e32360a..76fe602 100644
--- a/include/ipmitool/ipmi_main.h
+++ b/include/ipmitool/ipmi_main.h
@@ -30,13 +30,10 @@
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#ifndef IPMI_MAIN_H
-#define IPMI_MAIN_H
+#pragma once
#include <ipmitool/ipmi_intf.h>
int ipmi_main(int argc, char ** argv, struct ipmi_cmd * cmdlist, struct ipmi_intf_support * intflist);
void ipmi_cmd_print(struct ipmi_cmd * cmdlist);
int ipmi_cmd_run(struct ipmi_intf * intf, char * name, int argc, char ** argv);
-
-#endif /* IPMI_MAIN_H */