]> granicus.if.org Git - nethack/commitdiff
avoid link error with gcc 10 which enables -fno-common by default
authornhmall <nhmall@nethack.org>
Mon, 27 Jan 2020 13:23:56 +0000 (08:23 -0500)
committernhmall <nhmall@nethack.org>
Mon, 27 Jan 2020 13:46:48 +0000 (08:46 -0500)
src/windows.c
win/X11/winX.c
win/gnome/gnbind.c
win/tty/wintty.c

index 01ef4ccb95d2ba319d4aec7140433bfbcb6f437b..94ac40f3e5cb7fa6435ddcddabeb9df0f619fce4 100644 (file)
@@ -878,7 +878,6 @@ const char *status_fieldnm[MAXBLSTATS];
 const char *status_fieldfmt[MAXBLSTATS];
 char *status_vals[MAXBLSTATS];
 boolean status_activefields[MAXBLSTATS];
-NEARDATA winid WIN_STATUS;
 
 void
 genl_status_init()
index d5b7d263c0131af06d680c829a620d429bbaaee3..463c030264aba6254905a6a9050f990dea2692ed 100644 (file)
@@ -95,9 +95,6 @@ static XtSignalId X11_sig_id;
 #endif
 #endif
 
-/* this is only needed until X11_status_* routines are written */
-extern NEARDATA winid WIN_STATUS;
-
 /* Interface definition, for windows.c */
 struct window_procs X11_procs = {
     "X11",
index d23018cd8d5f5f041720a405c46218783bd9f0b8..53dee7232e5599524c29a3e25296149bb499eafc 100644 (file)
@@ -19,9 +19,6 @@ winid WIN_WORN = WIN_ERR;
 extern void tty_raw_print(const char *);
 extern void tty_raw_print_bold(const char *);
 
-/* this is only needed until gnome_status_* routines are written */
-extern NEARDATA winid WIN_STATUS;
-
 /* Interface definition, for windows.c */
 struct window_procs Gnome_procs = {
     "Gnome", WC_COLOR | WC_HILITE_PET | WC_INVERSE, 0L,
index ea02b631e3489a39c10ebb8677ce2f064b5e700e..d7ffec68e2268599647a9a4f312e8803081a69c3 100644 (file)
@@ -74,9 +74,6 @@ extern short glyph2tile[];
 
 extern char mapped_menu_cmds[]; /* from options.c */
 
-/* this is only needed until tty_status_* routines are written */
-extern NEARDATA winid WIN_STATUS;
-
 /* Interface definition, for windows.c */
 struct window_procs tty_procs = {
     "tty",