mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +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
|
@ -35,7 +35,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int remove(bool recursive, bool force, String path)
|
||||
static int remove(bool recursive, bool force, String path)
|
||||
{
|
||||
struct stat path_stat;
|
||||
if (lstat(path.characters(), &path_stat) < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue