diff --git a/MainPanel.c b/MainPanel.c index cf7392e4..5a75af3a 100644 --- a/MainPanel.c +++ b/MainPanel.c @@ -29,7 +29,7 @@ void MainPanel_updateTreeFunctions(MainPanel* this, bool mode) { FunctionBar_setLabel(bar, KEY_F(5), mode ? "List " : "Tree "); } -void MainPanel_pidSearch(MainPanel* this, int ch) { +static void MainPanel_pidSearch(MainPanel* this, int ch) { Panel* super = (Panel*) this; pid_t pid = ch - 48 + this->pidSearch; for (int i = 0; i < Panel_size(super); i++) { diff --git a/MainPanel.h b/MainPanel.h index 2427ca32..04f347d6 100644 --- a/MainPanel.h +++ b/MainPanel.h @@ -34,8 +34,6 @@ typedef bool(*MainPanel_ForeachProcessFn)(Process*, Arg); void MainPanel_updateTreeFunctions(MainPanel* this, bool mode); -void MainPanel_pidSearch(MainPanel* this, int ch); - int MainPanel_selectedPid(MainPanel* this); bool MainPanel_foreachProcess(MainPanel* this, MainPanel_ForeachProcessFn fn, Arg arg, bool* wasAnyTagged);