mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-28 06:11:28 +02:00
these helpers can be static
This commit is contained in:
parent
fc19c46c8a
commit
3f34a67df6
@ -1,6 +1,6 @@
|
|||||||
#include "smc.hpp"
|
#include "smc.hpp"
|
||||||
|
|
||||||
UInt32 _strtoul(char *str, int size, int base) {
|
static UInt32 _strtoul(char *str, int size, int base) {
|
||||||
UInt32 total = 0;
|
UInt32 total = 0;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ UInt32 _strtoul(char *str, int size, int base) {
|
|||||||
return total;
|
return total;
|
||||||
}
|
}
|
||||||
|
|
||||||
void _ultostr(char *str, UInt32 val) {
|
static void _ultostr(char *str, UInt32 val) {
|
||||||
str[0] = '\0';
|
str[0] = '\0';
|
||||||
sprintf(str, "%c%c%c%c",
|
sprintf(str, "%c%c%c%c",
|
||||||
(unsigned int)val >> 24,
|
(unsigned int)val >> 24,
|
||||||
|
Loading…
Reference in New Issue
Block a user