summaryrefslogtreecommitdiffhomepage
path: root/include/stc
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-03-09 22:50:20 +0100
committerTyge Løvset <[email protected]>2023-03-09 22:50:20 +0100
commitc2338d717937c2649926acf7c10e9dcd23804626 (patch)
treea575a2bec0518fcb06bb7a821a089eb36ed1056a /include/stc
parent130fac827859005a266d77cb8caee6477af375d7 (diff)
downloadSTC-modified-c2338d717937c2649926acf7c10e9dcd23804626.tar.gz
STC-modified-c2338d717937c2649926acf7c10e9dcd23804626.zip
Removed useless typedef in coroutine.
Diffstat (limited to 'include/stc')
-rw-r--r--include/stc/algo/coroutine.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/stc/algo/coroutine.h b/include/stc/algo/coroutine.h
index 00428f75..5607897a 100644
--- a/include/stc/algo/coroutine.h
+++ b/include/stc/algo/coroutine.h
@@ -62,10 +62,6 @@ enum {
cco_state_done = -2,
};
-typedef struct {
- int cco_state;
-} cco_state;
-
#define cco_alive(ctx) ((ctx)->cco_state > 0)
#define cco_done(ctx) ((ctx)->cco_state == cco_state_done)