Replace include guards with #pragma once

Change-Id: I16adc78d397e3239440206e8e70ebbd5e0963adb
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/argument.hpp b/argument.hpp
index 3cb7e68..ed2399a 100644
--- a/argument.hpp
+++ b/argument.hpp
@@ -1,5 +1,5 @@
-#ifndef __ARGUMENT_H
-#define __ARGUMENT_H
+#pragma once
+
 #include <getopt.h>
 #include <map>
 #include <string>
@@ -25,6 +25,4 @@
         ArgumentParser() {};
 };
 
-#endif
-
 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
diff --git a/directory.hpp b/directory.hpp
index 9a12a3c..0a9d580 100644
--- a/directory.hpp
+++ b/directory.hpp
@@ -1,5 +1,4 @@
-#ifndef __DIRECTORY_H
-#define __DIRECTORY_H
+#pragma once
 
 #include <string>
 #include <dirent.h>
@@ -17,6 +16,4 @@
         DIR* dirp;
 };
 
-#endif
-
 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
diff --git a/hwmon.hpp b/hwmon.hpp
index f41c53e..c822045 100644
--- a/hwmon.hpp
+++ b/hwmon.hpp
@@ -1,5 +1,4 @@
-#ifndef __HWMON_H
-#define __HWMON_H
+#pragma once
 
 #include <string>
 
@@ -20,6 +19,4 @@
 }
 }
 
-#endif
-
 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
diff --git a/sensorcache.hpp b/sensorcache.hpp
index 02405ff..6e8c4f1 100644
--- a/sensorcache.hpp
+++ b/sensorcache.hpp
@@ -1,5 +1,4 @@
-#ifndef __SENSORCACHE_H
-#define __SENSORCACHE_H
+#pragma once
 
 #include <map>
 
@@ -27,6 +26,4 @@
         container_t container;
 };
 
-#endif
-
 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
diff --git a/sensorset.hpp b/sensorset.hpp
index ad60207..c254345 100644
--- a/sensorset.hpp
+++ b/sensorset.hpp
@@ -1,5 +1,4 @@
-#ifndef __SENSORSET_H
-#define __SENSORSET_H
+#pragma once
 
 #include <map>
 #include <set>
@@ -28,6 +27,4 @@
 
 };
 
-#endif
-
 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
diff --git a/sysfs.hpp b/sysfs.hpp
index 7943211..3a51a29 100644
--- a/sysfs.hpp
+++ b/sysfs.hpp
@@ -1,5 +1,4 @@
-#ifndef __SYSFS_H
-#define __SYSFS_H
+#pragma once
 
 #include <fstream>
 #include <string>
@@ -28,6 +27,4 @@
     return path + "/"s + type + id + "_"s + entry;
 }
 
-#endif
-
 // vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4