OSDN Git Service

[Fix] #40585 Removed 'static' keyword from term_win_nuke() and re-added it into z...
authorHourier <hourier@users.sourceforge.jp>
Thu, 23 Jul 2020 04:58:50 +0000 (13:58 +0900)
committerHourier <hourier@users.sourceforge.jp>
Thu, 23 Jul 2020 04:58:50 +0000 (13:58 +0900)
src/term/z-term.c
src/term/z-term.h

index 7b3aac7..59fe375 100644 (file)
@@ -36,7 +36,7 @@ term_type *Term = NULL;
 /*
  * Nuke a term_win (see below)
  */
-static errr term_win_nuke(term_win *s, TERM_LEN w, TERM_LEN h)
+errr term_win_nuke(term_win *s, TERM_LEN w, TERM_LEN h)
 {
     /* Free the window access arrays */
     C_KILL(s->a, h, TERM_COLOR *);
index 515b399..78071f5 100644 (file)
@@ -136,7 +136,7 @@ typedef struct term_type {
 /**** Available Variables ****/
 extern term_type *Term;
 
-/**** Available Functions ****/
+errr term_win_nuke(term_win *s, TERM_LEN w, TERM_LEN h);
 extern errr term_user(int n);
 extern errr term_xtra(int n, int v);