diff options
| author | Steve Lee <me@xiangyangli.com> | 2017-12-02 06:03:52 +0800 |
|---|---|---|
| committer | Steve Lee <me@xiangyangli.com> | 2017-12-02 06:03:52 +0800 |
| commit | c3cf173d30db6cff2561696a46abfcdef538bf71 (patch) | |
| tree | 4fc46c542d759a4ec8da3b57afe00ec6323f3ab1 /data_structures/chapter_3/stack.h | |
| parent | b46c49228497cb440467167bad3123c327bd620f (diff) | |
| download | 42-c3cf173d30db6cff2561696a46abfcdef538bf71.tar.xz 42-c3cf173d30db6cff2561696a46abfcdef538bf71.zip | |
category
Diffstat (limited to 'data_structures/chapter_3/stack.h')
| -rw-r--r-- | data_structures/chapter_3/stack.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/data_structures/chapter_3/stack.h b/data_structures/chapter_3/stack.h deleted file mode 100644 index f93c467..0000000 --- a/data_structures/chapter_3/stack.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef _STACK_H - -struct node; -typedef struct node *ptr_to_node; -typedef ptr_to_node stack; -typedef int elem; - -int is_empty(stack s); -stack create_stack(); -void dispose_stack(stack s); -void make_empty(stack s); -void push(elem x, stack s); -elem top(stack s); -void pop(stack s); - -#endif |
