Merge fixes

This commit is contained in:
Hisham Muhammad
2015-02-23 03:53:36 -03:00
parent 8b5b73825e
commit 0a184b769f
7 changed files with 11 additions and 15 deletions

View File

@ -27,15 +27,15 @@ typedef struct LinuxProcess_ {
}*/
LinuxProcess* LinuxProcess_new(Settings* settings, ProcessList* pl) {
LinuxProcess* LinuxProcess_new(ProcessList* pl) {
LinuxProcess* this = calloc(sizeof(LinuxProcess), 1);
Process_init(&this->super, settings, pl);
Object_setClass(this, Class(Process));
Process_init(&this->super, pl);
return this;
}
void LinuxProcess_delete(Object* cast) {
LinuxProcess* this = (LinuxProcess*) this;
Object_setClass(this, Class(Process));
Process_done((Process*)cast);
free(this);
}