]> 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:23:56 +0000 (08:23 -0500)
src/windows.c
win/X11/winX.c
win/gnome/gnbind.c
win/tty/wintty.c

index 5b05551894e18be5bf4e0ddb1feac94ce272575f..ba7fb966ef5ddeeffe3867c1c49292d544aa9eb1 100644 (file)
@@ -860,7 +860,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 05d82e0eba6f296756fb38c85e0b03bc8aaaac89..f6e5375415498a7d820fac499ad866fa2c219592 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 0b99c24532f0cbf4337cc2d5f542134e6f28adfa..2c2182301068ab864b43d91ab0f516aa4b396465 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 fda9f6aa3eb4402fde556a0ede81bf5242291aa0..46a378088c0f8782d47d9da7313e5cdb972663b8 100644 (file)
@@ -72,9 +72,6 @@ extern short glyph2tile[];
 #define HUPSKIP_RESULT(RES) /*empty*/
 #endif /* ?HANGUP_HANDLING */
 
-/* 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",