diff options
| author | Tyge Løvset <[email protected]> | 2021-01-13 17:40:16 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-01-13 17:40:16 +0100 |
| commit | 77691fbc7c5da5688433d598658d1e5d26e46c46 (patch) | |
| tree | 946b71680aa33f870169cbfc5d5aea2aa15cc956 /examples/queue.c | |
| parent | b41fe24b6c2e60265152ec618aa7cc806d9435d1 (diff) | |
| download | STC-modified-77691fbc7c5da5688433d598658d1e5d26e46c46.tar.gz STC-modified-77691fbc7c5da5688433d598658d1e5d26e46c46.zip | |
Switched default cqueue underlying impl. from clist to cdeq.
Diffstat (limited to 'examples/queue.c')
| -rw-r--r-- | examples/queue.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/queue.c b/examples/queue.c index bf287e7c..8c0a8777 100644 --- a/examples/queue.c +++ b/examples/queue.c @@ -1,14 +1,14 @@ #include <stc/crand.h>
#include <stc/cqueue.h>
-#include <stc/cdeq.h>
#include <stdio.h>
-#if 0
-using_clist(i, int);
-using_cqueue(i, clist_i);
-#else
+#if 1
using_cdeq(i, int);
using_cqueue(i, cdeq_i);
+#else
+#include <stc/clist.h>
+using_clist(i, int);
+using_cqueue(i, clist_i);
#endif
int main() {
|
