summaryrefslogtreecommitdiffhomepage
path: root/examples/queue.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-15 23:12:58 +0200
committerTyge Løvset <[email protected]>2020-09-15 23:12:58 +0200
commit0ce57669673a5a22d8207ec884bcebb97cb18448 (patch)
treed76c4b38431efee766d97ba572fa3127a3e05976 /examples/queue.c
parentf4435af2fc9e9187f7be0149c2eb916db27cb257 (diff)
downloadSTC-modified-0ce57669673a5a22d8207ec884bcebb97cb18448.tar.gz
STC-modified-0ce57669673a5a22d8207ec884bcebb97cb18448.zip
Simplified declare_ statement e.g. c_cmap(...)
Diffstat (limited to 'examples/queue.c')
-rw-r--r--examples/queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/queue.c b/examples/queue.c
index a912d8ea..addecaa6 100644
--- a/examples/queue.c
+++ b/examples/queue.c
@@ -2,8 +2,8 @@
#include <stc/cqueue.h>
#include <stdio.h>
-cdef_clist(i, int);
-cdef_cqueue(i, clist_i); // min-heap (increasing values)
+c_clist(i, int);
+c_cqueue(i, clist_i); // min-heap (increasing values)
int main() {
int n = 10000000;