summaryrefslogtreecommitdiff
path: root/lib/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stack.h')
-rw-r--r--lib/stack.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/stack.h b/lib/stack.h
deleted file mode 100644
index 8d25aff..0000000
--- a/lib/stack.h
+++ /dev/null
@@ -1,35 +0,0 @@
-
-#pragma once
-
-#include <inttypes.h>
-#include <stdbool.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "types.h"
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef struct ll_tag {
- v_t x;
- struct ll_tag *next;
-} ll_t;
-
-typedef struct dll_tag {
- double x;
- struct dll_tag *next;
-} dll_t;
-
-void stack_push(ll_t **q, v_t x);
-void stack_push_d(dll_t **q, double x);
-
-v_t stack_pop(ll_t **q);
-double stack_pop_d(dll_t **q);
-
-#ifdef __cplusplus
-}
-#endif
-