about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--070display.cc4
-rw-r--r--077trace_browser.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/070display.cc b/070display.cc
index d8649695..74440b7c 100644
--- a/070display.cc
+++ b/070display.cc
@@ -205,7 +205,7 @@ WAIT_FOR_KEY_FROM_KEYBOARD,
 Recipe_number["wait-for-key-from-keyboard"] = WAIT_FOR_KEY_FROM_KEYBOARD;
 :(before "End Primitive Recipe Implementations")
 case WAIT_FOR_KEY_FROM_KEYBOARD: {
-  struct tb_event event;
+  tb_event event;
   do {
     tb_poll_event(&event);
   } while (event.type != TB_EVENT_KEY);
@@ -224,7 +224,7 @@ READ_KEY_FROM_KEYBOARD,
 Recipe_number["read-key-from-keyboard"] = READ_KEY_FROM_KEYBOARD;
 :(before "End Primitive Recipe Implementations")
 case READ_KEY_FROM_KEYBOARD: {
-  struct tb_event event;
+  tb_event event;
   int event_type = tb_peek_event(&event, 5/*ms*/);
   long long int result = 0;
   long long int found = false;
diff --git a/077trace_browser.cc b/077trace_browser.cc
index 501eaa8f..9b3259bd 100644
--- a/077trace_browser.cc
+++ b/077trace_browser.cc
@@ -32,7 +32,7 @@ void start_trace_browser() {
   }
   tb_init();
   Display_row = Display_column = 0;
-  struct tb_event event;
+  tb_event event;
   Top_of_screen = 0;
   refresh_screen_rows();
   while (true) {