mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Move xAsprintf, xSnprintf and xStrdup to StringUtils.h
This commit is contained in:
@ -7,6 +7,8 @@ in the source distribution for its full text.
|
||||
|
||||
#include "IOPriorityPanel.h"
|
||||
|
||||
#include "StringUtils.h"
|
||||
|
||||
|
||||
Panel* IOPriorityPanel_new(IOPriority currPrio) {
|
||||
Panel* this = Panel_new(1, 1, 1, 1, true, Class(ListItem), FunctionBar_newEnterEsc("Set ", "Cancel "));
|
||||
|
@ -9,8 +9,9 @@ in the source distribution for its full text.
|
||||
#include "Process.h"
|
||||
#include "ProcessList.h"
|
||||
#include "LinuxProcess.h"
|
||||
#include "Platform.h"
|
||||
#include "CRT.h"
|
||||
#include "Platform.h"
|
||||
#include "StringUtils.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
@ -7,14 +7,13 @@ in the source distribution for its full text.
|
||||
*/
|
||||
|
||||
#include "PressureStallMeter.h"
|
||||
#include "Platform.h"
|
||||
#include "CRT.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/*{
|
||||
#include "Meter.h"
|
||||
}*/
|
||||
#include "CRT.h"
|
||||
#include "Platform.h"
|
||||
#include "StringUtils.h"
|
||||
|
||||
|
||||
static const int PressureStallMeter_attributes[] = {
|
||||
PRESSURE_STALL_TEN, PRESSURE_STALL_SIXTY, PRESSURE_STALL_THREEHUNDRED
|
||||
|
Reference in New Issue
Block a user