diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-10-14 20:21:09 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-10-16 20:30:21 +0200 |
commit | 872e542f4eca52ce2198ba3fc30a51bc5d672dae (patch) | |
tree | d47d619840ec26bdc099ceff1351f5e6cc901e1c /linux | |
parent | c6f04a9c5d33d16623f1c20f0987dd3a992379e7 (diff) |
Rename StringUtils.[ch] to XUtils.[ch]
Diffstat (limited to 'linux')
-rw-r--r-- | linux/Battery.c | 9 | ||||
-rw-r--r-- | linux/IOPriorityPanel.c | 2 | ||||
-rw-r--r-- | linux/LinuxProcess.c | 3 | ||||
-rw-r--r-- | linux/LinuxProcessList.c | 3 | ||||
-rw-r--r-- | linux/Platform.c | 2 | ||||
-rw-r--r-- | linux/PressureStallMeter.c | 2 |
6 files changed, 12 insertions, 9 deletions
diff --git a/linux/Battery.c b/linux/Battery.c index 14fcc90b..faf4064c 100644 --- a/linux/Battery.c +++ b/linux/Battery.c @@ -7,11 +7,10 @@ in the source distribution for its full text. Linux battery readings written by Ian P. Hands (iphands@gmail.com, ihands@redhat.com). */ +#include "config.h" // IWYU pragma: keep + #include "Battery.h" -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif #include <dirent.h> #include <errno.h> #include <unistd.h> @@ -20,7 +19,9 @@ Linux battery readings written by Ian P. Hands (iphands@gmail.com, ihands@redhat #include <fcntl.h> #include <time.h> #include <math.h> -#include "StringUtils.h" + +#include "XUtils.h" + #define SYS_POWERSUPPLY_DIR "/sys/class/power_supply" diff --git a/linux/IOPriorityPanel.c b/linux/IOPriorityPanel.c index ce7f01e4..cc1b3916 100644 --- a/linux/IOPriorityPanel.c +++ b/linux/IOPriorityPanel.c @@ -7,7 +7,7 @@ in the source distribution for its full text. #include "IOPriorityPanel.h" -#include "StringUtils.h" +#include "XUtils.h" Panel* IOPriorityPanel_new(IOPriority currPrio) { diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c index 9e3c2f89..75900b5a 100644 --- a/linux/LinuxProcess.c +++ b/linux/LinuxProcess.c @@ -11,7 +11,7 @@ in the source distribution for its full text. #include "LinuxProcess.h" #include "CRT.h" #include "Platform.h" -#include "StringUtils.h" +#include "XUtils.h" #include <stdlib.h> #include <unistd.h> @@ -20,6 +20,7 @@ in the source distribution for its full text. #include <time.h> #include <math.h> + /* semi-global */ long long btime; diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index 6dcc5e5a..57fab842 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -8,7 +8,8 @@ in the source distribution for its full text. #include "LinuxProcessList.h" #include "LinuxProcess.h" #include "CRT.h" -#include "StringUtils.h" +#include "XUtils.h" + #include <errno.h> #include <sys/time.h> #include <sys/utsname.h> diff --git a/linux/Platform.c b/linux/Platform.c index 6a3ffab2..feb6b6cf 100644 --- a/linux/Platform.c +++ b/linux/Platform.c @@ -30,7 +30,7 @@ in the source distribution for its full text. #include "zfs/ZfsCompressedArcMeter.h" #include "LinuxProcess.h" #include "SELinuxMeter.h" -#include "StringUtils.h" +#include "XUtils.h" #include <math.h> #include <assert.h> diff --git a/linux/PressureStallMeter.c b/linux/PressureStallMeter.c index 518e66c8..4733415f 100644 --- a/linux/PressureStallMeter.c +++ b/linux/PressureStallMeter.c @@ -12,7 +12,7 @@ in the source distribution for its full text. #include "CRT.h" #include "Platform.h" -#include "StringUtils.h" +#include "XUtils.h" static const int PressureStallMeter_attributes[] = { |