mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-13 04:34:35 +03:00
Clean up headers by using 'static' whenever possible.
Reduces resulting code size.
This commit is contained in:
@ -53,7 +53,7 @@ void TraceScreen_delete(TraceScreen* this) {
|
||||
free(this);
|
||||
}
|
||||
|
||||
void TraceScreen_draw(TraceScreen* this) {
|
||||
static void TraceScreen_draw(TraceScreen* this) {
|
||||
attrset(CRT_colors[PANEL_HEADER_FOCUS]);
|
||||
mvhline(0, 0, ' ', COLS);
|
||||
mvprintw(0, 0, "Trace of process %d - %s", this->process->pid, this->process->comm);
|
||||
|
Reference in New Issue
Block a user