Skip to content

Commit

Permalink
Merge branch 'cgzones-uaf'
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Aug 14, 2024
2 parents 59578af + be4719d commit 0782be7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Table.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void Table_add(Table* this, Row* row) {
// removing items.
// Note: for processes should only be called from ProcessTable_iterate to avoid
// breaking dying process highlighting.
void Table_removeIndex(Table* this, const Row* row, int idx) {
static void Table_removeIndex(Table* this, const Row* row, int idx) {
int rowid = row->id;

assert(row == (Row*)Vector_get(this->rows, idx));
Expand Down
3 changes: 1 addition & 2 deletions Table.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ void Table_printHeader(const Settings* settings, RichString* header);

void Table_add(Table* this, struct Row_* row);

void Table_removeIndex(Table* this, const struct Row_* row, int idx);

void Table_updateDisplayList(Table* this);

void Table_expandTree(Table* this);
Expand All @@ -90,6 +88,7 @@ void Table_cleanupRow(Table* this, Row* row, int idx);

static inline void Table_compact(Table* this) {
Vector_compact(this->rows);
this->needsSort = true;
}

#endif

0 comments on commit 0782be7

Please sign in to comment.