X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=src%2Fcstack.c;h=0043b5c4b8c197bef537dad65be01333583e48ef;hb=a10fcae3cba4f58550b24b0029f3932615dadbc3;hp=aafb95f1b1915afde522f74044aa145355cc9ece;hpb=b723e39232abc7632311eb06d7046c214ee05b51;p=smdp.git diff --git a/src/cstack.c b/src/cstack.c index aafb95f..0043b5c 100644 --- a/src/cstack.c +++ b/src/cstack.c @@ -56,12 +56,11 @@ int cstack_top(cstack_t *self, char c) { return 0; } -int cstack_empty(cstack_t *self) { - return self->head == -1; +int cstack_empty(cstack_t *self) { + return self->head == -1; } void cstack_delete(cstack_t *self) { free(self->content); free(self); } -