Skip to content

Commit

Permalink
Test clang-format lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bbarenblat committed Aug 8, 2023
1 parent 1105d48 commit bd9c316
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/util/select.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ void Select::handle_signal( int signum )
Select& sel = get_instance();
sel.got_signal[signum] = 1;
}

int FunctionNotWrittenInKeithwStyle(int x, int* y) {
if (x > 0) {
return x - 42;
} else {
*y = x + 1;
return 0;
}
}

0 comments on commit bd9c316

Please sign in to comment.