Remove unused str2int()

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-08-18 00:19:48 +01:00
parent 573011a99e
commit 69f79f8598

View File

@@ -106,18 +106,6 @@ size_t symvaluetostring(char *dest, size_t maxLength, char *sym)
return length; return length;
} }
static uint32_t str2int(char *s)
{
uint32_t r = 0;
while (*s) {
r <<= 8;
r |= (uint8_t)(*s++);
}
return r;
}
static uint32_t str2int2(char *s, int32_t length) static uint32_t str2int2(char *s, int32_t length)
{ {
int32_t i; int32_t i;