diff options
| author | Tyge Løvset <[email protected]> | 2023-03-09 22:50:20 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-03-09 22:50:20 +0100 |
| commit | c2338d717937c2649926acf7c10e9dcd23804626 (patch) | |
| tree | a575a2bec0518fcb06bb7a821a089eb36ed1056a | |
| parent | 130fac827859005a266d77cb8caee6477af375d7 (diff) | |
| download | STC-modified-c2338d717937c2649926acf7c10e9dcd23804626.tar.gz STC-modified-c2338d717937c2649926acf7c10e9dcd23804626.zip | |
Removed useless typedef in coroutine.
| -rw-r--r-- | include/stc/algo/coroutine.h | 4 |
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) |
