diff options
author | Shun Terabayashi | 2020-10-04 14:41:35 +0900 |
---|---|---|
committer | Shun Terabayashi | 2020-10-04 14:41:35 +0900 |
commit | 3ada99c2031964a3c0bbe3d2a1a9b58ba309463d (patch) | |
tree | 12601a95b095911eee0026e474c3a3f98de46410 /src/include/zenmonitor.h | |
parent | fa17e94b30611513c7b863422a1215fcea74f369 (diff) |
Refactroring headers
* Add include guards
* include glib.h in headers
Diffstat (limited to 'src/include/zenmonitor.h')
-rw-r--r-- | src/include/zenmonitor.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/zenmonitor.h b/src/include/zenmonitor.h index 43a6e3f..eba68c0 100644 --- a/src/include/zenmonitor.h +++ b/src/include/zenmonitor.h @@ -1,3 +1,8 @@ +#ifndef __ZENMONITOR_ZENMONITOR_H__ +#define __ZENMONITOR_ZENMONITOR_H__ + +#include <glib.h> + #define ERROR_VALUE -999.0 #define VERSION "1.4.2" @@ -28,3 +33,5 @@ gboolean check_zen(); gchar *cpu_model(); guint get_core_count(); extern gboolean display_coreid; + +#endif /* __ZENMONITOR_ZENMONITOR_H__ */ |