mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Rename StringUtils.[ch] to XUtils.[ch]
This commit is contained in:
@ -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"
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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[] = {
|
||||
|
Reference in New Issue
Block a user