Skip to content

Commit 2503239

Browse files
cgzonesBenBE
authored andcommitted
Drop unused function Process_rowSetPriority()
1 parent 3c7fe27 commit 2503239

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Process.c

-6
Original file line numberDiff line numberDiff line change
@@ -867,12 +867,6 @@ static bool Process_setPriority(Process* this, int priority) {
867867
return (err == 0);
868868
}
869869

870-
bool Process_rowSetPriority(Row* super, int priority) {
871-
Process* this = (Process*) super;
872-
assert(Object_isA((const Object*) this, (const ObjectClass*) &Process_class));
873-
return Process_setPriority(this, priority);
874-
}
875-
876870
bool Process_rowChangePriorityBy(Row* super, Arg delta) {
877871
Process* this = (Process*) super;
878872
assert(Object_isA((const Object*) this, (const ObjectClass*) &Process_class));

Process.h

-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,6 @@ void Process_init(Process* this, const struct Machine_* host);
307307

308308
const char* Process_rowGetSortKey(Row* super);
309309

310-
bool Process_rowSetPriority(Row* super, int priority);
311-
312310
bool Process_rowChangePriorityBy(Row* super, Arg delta);
313311

314312
bool Process_rowSendSignal(Row* super, Arg sgn);

0 commit comments

Comments
 (0)