summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Čerman2019-10-12 23:54:29 +0200
committerGitHub2019-10-12 23:54:29 +0200
commit6bcd225b74a8d6fe6d1237f242a5dea6a28ce13b (patch)
tree58912c13f5688ab922d011a8ab5ebf31ed2a5c49
parentf56d4e56258bd2d3dac8710f9dd14760699a9308 (diff)
parent172407121e5865e7f6ac55524419fb43d25dca14 (diff)
Merge pull request #8 from jrugia/master
Corrects Syntax usage
-rw-r--r--src/ss/msr.c4
-rw-r--r--src/ss/zenpower.c4
-rw-r--r--src/zenmonitor.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/ss/msr.c b/src/ss/msr.c
index c3a0224..2ef75ac 100644
--- a/src/ss/msr.c
+++ b/src/ss/msr.c
@@ -4,8 +4,8 @@
#include <unistd.h>
#include <fcntl.h>
#include <math.h>
-#include "stdlib.h"
-#include "string.h"
+#include <stdlib.h>
+#include <string.h>
#include "zenmonitor.h"
#include "msr.h"
#include "sysfs.h"
diff --git a/src/ss/zenpower.c b/src/ss/zenpower.c
index 6af86dc..54a88eb 100644
--- a/src/ss/zenpower.c
+++ b/src/ss/zenpower.c
@@ -1,8 +1,8 @@
#include <glib.h>
+#include <stdlib.h>
+#include <string.h>
#include "zenmonitor.h"
#include "zenpower.h"
-#include "stdlib.h"
-#include "string.h"
GSList *zp_sensors = NULL;
static int nodes = 0;
diff --git a/src/zenmonitor.c b/src/zenmonitor.c
index 30e5370..dbc2eec 100644
--- a/src/zenmonitor.c
+++ b/src/zenmonitor.c
@@ -1,11 +1,11 @@
#include <gtk/gtk.h>
#include <cpuid.h>
+#include <string.h>
#include "zenmonitor.h"
#include "zenpower.h"
#include "msr.h"
#include "os.h"
#include "gui.h"
-#include "string.h"
#define AMD_STRING "AuthenticAMD"
#define ZEN_FAMILY 0x17