Move xAsprintf, xSnprintf and xStrdup to StringUtils.h

This commit is contained in:
Benny Baumann
2020-09-19 20:22:34 +02:00
parent 7cd093ce95
commit c6f04a9c5d
22 changed files with 101 additions and 75 deletions

View File

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

View File

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

View File

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