mirror of https://github.com/xzeldon/htop.git
Make MainPanel_pidSearch a static function
Not used elsewhere.
This commit is contained in:
parent
a05e78f531
commit
5dbca0193d
|
@ -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++) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue