summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2023-03-17 15:34:01 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2023-03-17 15:34:37 +0100
commitb7b8aee6d85d029cd0e634460a95eb707316a96b (patch)
treebc15e95e162a71ed16c96fa87c254ef93bd91496
parentcda68dfc930facf45fe2a904ecf0f12bf46b21c2 (diff)
Rename thermal.h to libthermal.h
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--src/dtpm/thermal-engine.c2
-rw-r--r--src/include/libthermal.h (renamed from src/include/thermal.h)0
-rw-r--r--src/lib/commands.c2
-rw-r--r--src/lib/events.c2
-rw-r--r--src/lib/sampling.c2
-rw-r--r--src/lib/thermal.c2
-rw-r--r--src/lib/thermal_nl.c2
7 files changed, 6 insertions, 6 deletions
diff --git a/src/dtpm/thermal-engine.c b/src/dtpm/thermal-engine.c
index 9b1476a..3a21870 100644
--- a/src/dtpm/thermal-engine.c
+++ b/src/dtpm/thermal-engine.c
@@ -23,7 +23,7 @@
#include <sys/stat.h>
#include <sys/types.h>
-#include <thermal.h>
+#include <libthermal.h>
#include "thermal-tools.h"
struct options {
diff --git a/src/include/thermal.h b/src/include/libthermal.h
index 1abc560..1abc560 100644
--- a/src/include/thermal.h
+++ b/src/include/libthermal.h
diff --git a/src/lib/commands.c b/src/lib/commands.c
index f57db6d..4385c80 100644
--- a/src/lib/commands.c
+++ b/src/lib/commands.c
@@ -6,7 +6,7 @@
#include <stdlib.h>
#include <unistd.h>
-#include <thermal.h>
+#include <libthermal.h>
#include "thermal_nl.h"
#ifndef ARRAY_SIZE
diff --git a/src/lib/events.c b/src/lib/events.c
index a7a55d1..d999943 100644
--- a/src/lib/events.c
+++ b/src/lib/events.c
@@ -6,7 +6,7 @@
#include <unistd.h>
-#include <thermal.h>
+#include <libthermal.h>
#include "thermal_nl.h"
/*
diff --git a/src/lib/sampling.c b/src/lib/sampling.c
index 7057742..eda516b 100644
--- a/src/lib/sampling.c
+++ b/src/lib/sampling.c
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include <unistd.h>
-#include <thermal.h>
+#include <libthermal.h>
#include "thermal_nl.h"
static int handle_thermal_sample(struct nl_msg *n, void *arg)
diff --git a/src/lib/thermal.c b/src/lib/thermal.c
index 72a76dc..81034d3 100644
--- a/src/lib/thermal.c
+++ b/src/lib/thermal.c
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: LGPL-2.1+
// Copyright (C) 2022, Linaro Ltd - Daniel Lezcano <daniel.lezcano@linaro.org>
#include <stdio.h>
-#include <thermal.h>
+#include <libthermal.h>
#include "thermal_nl.h"
diff --git a/src/lib/thermal_nl.c b/src/lib/thermal_nl.c
index b05cf95..33bfab2 100644
--- a/src/lib/thermal_nl.c
+++ b/src/lib/thermal_nl.c
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include <unistd.h>
-#include <thermal.h>
+#include <libthermal.h>
#include "thermal_nl.h"
struct handler_args {