mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:57:35 +00:00
Userland: Mark compilation-unit-only functions as static
This enables a nice warning in case a function becomes dead code.
This commit is contained in:
parent
5574d45eda
commit
0248ddc427
22 changed files with 85 additions and 83 deletions
|
@ -41,7 +41,7 @@ static int max_depth = INT_MAX;
|
|||
static int g_directories_seen = 0;
|
||||
static int g_files_seen = 0;
|
||||
|
||||
void print_directory_tree(const String& root_path, int depth, const String& indent_string)
|
||||
static void print_directory_tree(const String& root_path, int depth, const String& indent_string)
|
||||
{
|
||||
if (depth > 0) {
|
||||
String root_indent_string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue