Rename StringUtils.[ch] to XUtils.[ch]

This commit is contained in:
Benny Baumann
2020-10-14 20:21:09 +02:00
parent c6f04a9c5d
commit 872e542f4e
41 changed files with 55 additions and 51 deletions

View File

@ -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"

View File

@ -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) {

View File

@ -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;

View File

@ -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>

View File

@ -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>

View File

@ -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[] = {