Mercurial > hg > Members > menikon > CbC_xv6
changeset 118:822d74c14f38
comment in SingleLinkedStack
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 02 Dec 2019 13:26:02 +0900 |
parents | ceabe608b773 |
children | 94ee7046d190 |
files | src/SingleLinkedStack.cbc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/SingleLinkedStack.cbc Mon Dec 02 13:23:21 2019 +0900 +++ b/src/SingleLinkedStack.cbc Mon Dec 02 13:26:02 2019 +0900 @@ -16,6 +16,7 @@ return stack; } +/* void printStack1(union Data* data) { struct Node* node = &data->Element.data->Node; // if (node == NULL) { @@ -30,6 +31,7 @@ printStack1(data); // printf("\n"); } +*/ __code clearSingleLinkedStack(struct SingleLinkedStack* stack,__code next(...)) { stack->top = NULL;