summaryrefslogtreecommitdiff
path: root/src/test/mock_queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mock_queue.h')
-rw-r--r--src/test/mock_queue.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/mock_queue.h b/src/test/mock_queue.h
deleted file mode 100644
index 1c2bbf7..0000000
--- a/src/test/mock_queue.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef MOCK_QUEUE_H
-#define MOCK_QUEUE_H
-
-#include <stdlib.h>
-
-void mock_queue_init();
-void mock_queue_cleanup();
-
-size_t mock_queue_len();
-
-void mock_queue_data(size_t size, void *data);
-void * mock_front_data();
-
-#define mock_queue(type, raw) do { \
- type data = raw; \
- mock_queue_data(sizeof(type), &data); \
- } while(0)
-
-#define mock_front(type) * (type *) mock_front_data()
-
-void mock_pop();
-
-#endif