Commit 28268d9b authored by johvik's avatar johvik

Missing void in _new_stack()

This removes the GCC warning:
"warning: function declaration isn’t a prototype [-Wstrict-prototypes]"
parent 4021e4ba
...@@ -157,7 +157,7 @@ OS__add_stack_el(struct _stack *st) { ...@@ -157,7 +157,7 @@ OS__add_stack_el(struct _stack *st) {
} }
static struct _stack * static struct _stack *
_new_stack() { _new_stack(void) {
return (struct _stack *)CALLOC(1, sizeof(struct _stack)); return (struct _stack *)CALLOC(1, sizeof(struct _stack));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment