From 2503239d9fb453b5d67d3b33690c5a8e914bc58c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Fri, 9 Aug 2024 17:15:07 +0200 Subject: [PATCH] Drop unused function Process_rowSetPriority() --- Process.c | 6 ------ Process.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/Process.c b/Process.c index 3af20ea9b..910443e99 100644 --- a/Process.c +++ b/Process.c @@ -867,12 +867,6 @@ static bool Process_setPriority(Process* this, int priority) { return (err == 0); } -bool Process_rowSetPriority(Row* super, int priority) { - Process* this = (Process*) super; - assert(Object_isA((const Object*) this, (const ObjectClass*) &Process_class)); - return Process_setPriority(this, priority); -} - bool Process_rowChangePriorityBy(Row* super, Arg delta) { Process* this = (Process*) super; assert(Object_isA((const Object*) this, (const ObjectClass*) &Process_class)); diff --git a/Process.h b/Process.h index 233e01b70..b7b48cb1b 100644 --- a/Process.h +++ b/Process.h @@ -307,8 +307,6 @@ void Process_init(Process* this, const struct Machine_* host); const char* Process_rowGetSortKey(Row* super); -bool Process_rowSetPriority(Row* super, int priority); - bool Process_rowChangePriorityBy(Row* super, Arg delta); bool Process_rowSendSignal(Row* super, Arg sgn);