Skip to content

Commit 5fa1cd3

Browse files
committed
make variables extern
1 parent 1c471fd commit 5fa1cd3

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

deimos/ncurses/curses.d

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,17 @@ immutable enum :chtype
145145

146146

147147
/* global variables */
148-
__gshared WINDOW* stdscr;
149-
__gshared WINDOW* curscr;
150-
__gshared WINDOW* newscr;
151-
__gshared char[] ttytype;
152-
__gshared int COLORS;
153-
__gshared int COLOR_PAIRS;
154-
__gshared int LINES;
155-
__gshared int COLS;
156-
__gshared int TABSIZE;
157-
__gshared int ESCDELAY;
158-
__gshared chtype[256] acs_map;
148+
extern __gshared WINDOW* stdscr;
149+
extern __gshared WINDOW* curscr;
150+
extern __gshared WINDOW* newscr;
151+
extern __gshared char[] ttytype;
152+
extern __gshared int COLORS;
153+
extern __gshared int COLOR_PAIRS;
154+
extern __gshared int LINES;
155+
extern __gshared int COLS;
156+
extern __gshared int TABSIZE;
157+
extern __gshared int ESCDELAY;
158+
extern __gshared chtype[256] acs_map;
159159

160160

161161

0 commit comments

Comments
 (0)