From 3035e29e7475379c075614109ae717649a0eb2d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 26 Jan 2021 18:41:04 +0100 Subject: [PATCH] Use typedef names instead of raw struct ones --- Header.c | 2 +- Process.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Header.c b/Header.c index 08e3548a..290043e8 100644 --- a/Header.c +++ b/Header.c @@ -20,7 +20,7 @@ in the source distribution for its full text. #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)); this->columns = xCalloc(nrColumns, sizeof(Vector*)); this->settings = settings; diff --git a/Process.c b/Process.c index c76f47a2..3f91b67d 100644 --- a/Process.c +++ b/Process.c @@ -430,7 +430,7 @@ const ProcessClass Process_class = { .getCommandStr = Process_getCommandStr, }; -void Process_init(Process* this, const struct Settings_* settings) { +void Process_init(Process* this, const Settings* settings) { this->settings = settings; this->tag = false; this->showChildren = true;