diff options
Diffstat (limited to 'stack.c')
-rw-r--r-- | stack.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) { |