these helpers can be static

This commit is contained in:
Jos Dehaes 2021-10-16 21:47:55 +02:00
parent fc19c46c8a
commit 3f34a67df6

View file

@ -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,