diff options
author | scratko <m@scratko.xyz> | 2024-04-02 02:03:57 +0300 |
---|---|---|
committer | scratko <m@scratko.xyz> | 2024-04-02 02:03:57 +0300 |
commit | 80749242cc6aa604c6ee3a7e3169df73c14e55d2 (patch) | |
tree | bfc4db5b1b209d81dca539588350ac7b8cfab13e /stack.c | |
parent | 8a704989e2d4733e6e847cb272a40dd85de4c9cd (diff) | |
download | arithmetic-expression-computator-80749242cc6aa604c6ee3a7e3169df73c14e55d2.tar.gz arithmetic-expression-computator-80749242cc6aa604c6ee3a7e3169df73c14e55d2.tar.bz2 arithmetic-expression-computator-80749242cc6aa604c6ee3a7e3169df73c14e55d2.zip |
Corrected description.
Fixed pointer symbol in some places.
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) { |