From c2338d717937c2649926acf7c10e9dcd23804626 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Thu, 9 Mar 2023 22:50:20 +0100 Subject: Removed useless typedef in coroutine. --- include/stc/algo/coroutine.h | 4 ---- 1 file changed, 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) -- cgit v1.2.3