diff options
author | Jos Dehaes <jos.dehaes@gmail.com> | 2021-10-16 21:47:55 +0200 |
---|---|---|
committer | Jos Dehaes <jos.dehaes@gmail.com> | 2021-10-16 21:47:55 +0200 |
commit | 3f34a67df68f3f451cb48b023b7cd42ccf933ce4 (patch) | |
tree | 2725211d481a49922a4faad72c2ef4092420758c | |
parent | fc19c46c8aab03e252f60f6f9447d7e1861cbcb9 (diff) |
these helpers can be static
-rw-r--r-- | src/osx/smc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osx/smc.cpp b/src/osx/smc.cpp index 5b52851..2482ae3 100644 --- a/src/osx/smc.cpp +++ b/src/osx/smc.cpp @@ -1,6 +1,6 @@ #include "smc.hpp" -UInt32 _strtoul(char *str, int size, int base) { +static UInt32 _strtoul(char *str, int size, int base) { UInt32 total = 0; int i; @@ -14,7 +14,7 @@ UInt32 _strtoul(char *str, int size, int base) { return total; } -void _ultostr(char *str, UInt32 val) { +static void _ultostr(char *str, UInt32 val) { str[0] = '\0'; sprintf(str, "%c%c%c%c", (unsigned int)val >> 24, |