X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=include%2Fcstack.h;h=18608f397eb1735bcb0e0103030b9b70ae0370c8;hb=c3bcbda5c26b9234b6207b4c6fb85ab1565d9d0b;hp=230fcdde8bda37c66d1b1a92c15a2fa85f0b50ec;hpb=80d361502cd01220458e3961dd380f6a26ea682a;p=smdp.git diff --git a/include/cstack.h b/include/cstack.h index 230fcdd..18608f3 100644 --- a/include/cstack.h +++ b/include/cstack.h @@ -3,7 +3,7 @@ /* * An implementation of a char stack in heap memory. - * Copyright (C) 2014 Michael Goehler + * Copyright (C) 2018 Michael Goehler * * This file is part of mdp. * @@ -23,8 +23,8 @@ * * struct: cstack_t which defines char stack type in heap memory * - * function: cstack_init to intialize struct of type cstack_t - * function: cstack_t->push to add one char on top if the stack + * function: cstack_init to initialize struct of type cstack_t + * function: cstack_t->push to add one char on top of the stack * function: cstack_t->pop to remove the top char from the stack * function: cstack_t->top to test if the top char is a given char * function: cstack_t->empty to test if the stack is empty