aboutsummaryrefslogtreecommitdiff
path: root/src/stack-linked-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stack-linked-list.c')
-rw-r--r--src/stack-linked-list.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/stack-linked-list.c b/src/stack-linked-list.c
index 48b9eba..7c01a1d 100644
--- a/src/stack-linked-list.c
+++ b/src/stack-linked-list.c
@@ -85,7 +85,7 @@ stack_free(struct stack *stack)
85/* -->8-- */ 85/* -->8-- */
86 86
87int 87int
88main() 88main(void)
89{ 89{
90 struct stack stack[1]; 90 struct stack stack[1];
91 91
@@ -96,11 +96,11 @@ main()
96 96
97 /* 97 /*
98 while ( !stack_empty(stack) ) { 98 while ( !stack_empty(stack) ) {
99 int i; 99 int i;
100 if ( stack_pop(stack, &i) ) 100 if ( stack_pop(stack, &i) )
101 printf("%d\n", i); 101 printf("%d\n", i);
102 else 102 else
103 ERROR("this shouldn't happen!"); 103 ERROR("this shouldn't happen!");
104 } 104 }
105 */ 105 */
106 106