Remove 'inline' from functions not in headers

This commit is contained in:
Rangi
2021-04-13 10:27:08 -04:00
parent 25a8518fbf
commit c08cf783c8
9 changed files with 24 additions and 26 deletions

View File

@@ -37,7 +37,7 @@ struct RPNStack {
size_t capacity;
} stack;
static inline void initRPNStack(void)
static void initRPNStack(void)
{
stack.capacity = 64;
stack.values = malloc(sizeof(*stack.values) * stack.capacity);
@@ -46,7 +46,7 @@ static inline void initRPNStack(void)
err(1, "Failed to init RPN stack");
}
static inline void clearRPNStack(void)
static void clearRPNStack(void)
{
stack.size = 0;
}
@@ -92,7 +92,7 @@ static int32_t popRPN(struct FileStackNode const *node, uint32_t lineNo)
return stack.values[stack.size];
}
static inline void freeRPNStack(void)
static void freeRPNStack(void)
{
free(stack.values);
free(stack.errorFlags);