mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
Use typedef names instead of raw struct ones
This commit is contained in:
parent
0f04714a03
commit
3035e29e74
2
Header.c
2
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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user