shithub: orca

Download patch

ref: 5c010682401b65a2b9b7ac421c17897d9f381c6d
parent: febfffdb6b83c6fe7bcd83a6409944bcf7e94af3
author: cancel <cancel@cancel.fm>
date: Mon Dec 3 11:42:18 EST 2018

Remove unused stuff from tui

--- a/tui_main.c
+++ b/tui_main.c
@@ -176,25 +176,6 @@
   waddchnstr(win, &ch, 1);
 }
 
-typedef struct Field_pool_node {
-  Field field;
-  struct Field_pool_node* next;
-} Field_pool_node;
-
-typedef struct {
-  Field_pool_node* head;
-  Usz count;
-} Field_pool;
-
-void field_pool_take(Field_pool* pool, Field* out) {
-  (void)pool;
-  (void)out;
-}
-void field_pool_give(Field_pool* pool, Field* given) {
-  (void)pool;
-  (void)given;
-}
-
 typedef struct Undo_node {
   Field field;
   Usz tick_num;