back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'stack.c')
-rw-r--r--stack.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stack.c b/stack.c
index 8aee3d7..bc03809 100644
--- a/stack.c
+++ b/stack.c
@@ -4,17 +4,17 @@
#define QUANTITY_ADDRESSES 5
enum address_control { get_address, set_address };
-void* heap_base;
+void *heap_base;
void init_stack(stack *st)
{
*st = 0;
}
-static void* address_management(void* address, enum address_control state)
+static void *address_management(void *address, enum address_control state)
{
enum { null = 0 };
- static void* available_addresses[QUANTITY_ADDRESSES];
+ static void *available_addresses[QUANTITY_ADDRESSES];
int i;
if(state == set_address) {
for(i = 0; i < QUANTITY_ADDRESSES; ++i) {