Use typedef names instead of raw struct ones

This commit is contained in:
Christian Göttsche 2021-01-26 18:41:04 +01:00
parent 0f04714a03
commit 3035e29e74
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ in the source distribution for its full text.
#include "XUtils.h" #include "XUtils.h"
Header* Header_new(struct ProcessList_* pl, Settings* settings, int nrColumns) { Header* Header_new(ProcessList* pl, Settings* settings, int nrColumns) {
Header* this = xCalloc(1, sizeof(Header)); Header* this = xCalloc(1, sizeof(Header));
this->columns = xCalloc(nrColumns, sizeof(Vector*)); this->columns = xCalloc(nrColumns, sizeof(Vector*));
this->settings = settings; this->settings = settings;

View File

@ -430,7 +430,7 @@ const ProcessClass Process_class = {
.getCommandStr = Process_getCommandStr, .getCommandStr = Process_getCommandStr,
}; };
void Process_init(Process* this, const struct Settings_* settings) { void Process_init(Process* this, const Settings* settings) {
this->settings = settings; this->settings = settings;
this->tag = false; this->tag = false;
this->showChildren = true; this->showChildren = true;