foxygit / doom Log in
commit 038e7b63142e3d5699650dcffb7cf624d2b0d9f3
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Wed Sep 7 12:01:27 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Tue Sep 27 14:04:16 2022 +0300

    textscreen: Remove extern from forward declarations which don't need it
---
 textscreen/txt_inputbox.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/textscreen/txt_inputbox.c b/textscreen/txt_inputbox.c
index 27a8608b..68d4347d 100644
--- a/textscreen/txt_inputbox.c
+++ b/textscreen/txt_inputbox.c
@@ -26,8 +26,8 @@
 #include "txt_utf8.h"
 #include "txt_window.h"

-extern txt_widget_class_t txt_inputbox_class;
-extern txt_widget_class_t txt_int_inputbox_class;
+txt_widget_class_t txt_inputbox_class;
+txt_widget_class_t txt_int_inputbox_class;

 static void SetBufferFromValue(txt_inputbox_t *inputbox)
 {