mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +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
|
@ -30,7 +30,7 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
double get_double(const char* name, const char* d_string, int* number_of_decimals)
|
||||
static double get_double(const char* name, const char* d_string, int* number_of_decimals)
|
||||
{
|
||||
char* end;
|
||||
double d = strtod(d_string, &end);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue