From 80749242cc6aa604c6ee3a7e3169df73c14e55d2 Mon Sep 17 00:00:00 2001 From: scratko Date: Tue, 2 Apr 2024 02:03:57 +0300 Subject: Minor changes Corrected description. Fixed pointer symbol in some places. --- stack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stack.c') 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) { -- cgit v1.2.3