summaryrefslogtreecommitdiff
path: root/lib/queue.h
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-02-02 18:33:22 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-02-02 18:33:22 -0500
commit2af9351db3aa97da9b0d3f23d53a593bc96c8a8e (patch)
tree684dfccba8d295c42ef6e2e070c8d6caca45f590 /lib/queue.h
parent181db84a8ffb26e436a43bb268fe5ef060206e66 (diff)
downloadc++-2af9351db3aa97da9b0d3f23d53a593bc96c8a8e.tar.gz
c++-2af9351db3aa97da9b0d3f23d53a593bc96c8a8e.tar.bz2
c++-2af9351db3aa97da9b0d3f23d53a593bc96c8a8e.zip
does potts now, no external libraries
Diffstat (limited to 'lib/queue.h')
-rw-r--r--lib/queue.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/queue.h b/lib/queue.h
deleted file mode 100644
index 23834ba..0000000
--- a/lib/queue.h
+++ /dev/null
@@ -1,25 +0,0 @@
-
-#pragma once
-
-#include <inttypes.h>
-#include <stdbool.h>
-#include <stdlib.h>
-#include <string.h>
-
-typedef struct ll_tag {
- uint32_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, uint32_t x);
-void stack_push_d(dll_t **q, double x);
-
-uint32_t stack_pop(ll_t **q);
-double stack_pop_d(dll_t **q);
-
-bool stack_contains(const ll_t *q, uint32_t x);