Description: Fix FTBFS
Author: Logan Rosen <logan@ubuntu.com>
Debian-Bug: https://bugs.debian.org/957610
--- a/db.c
+++ b/db.c
@@ -130,6 +130,8 @@
 static char    *group_position = NULL;
 static article_number current_digest_article = 0;
 
+int             l_g_index, s_g_first;
+
 int
 init_group(register group_header * gh)
 {
--- a/nn_term.h
+++ b/nn_term.h
@@ -48,7 +48,7 @@
  */
 
 
-int             prompt_line;	/* prompt line */
+extern int             prompt_line;	/* prompt line */
 
 #define	P_MOVE		(char *)1
 #define P_REDRAW	(char *)5
--- a/term.c
+++ b/term.c
@@ -140,6 +140,7 @@
 int             show_current_time = 1;
 int             conf_dont_sleep = 0;
 int             prompt_length;
+int             prompt_line;
 int             terminal_speed = 0;
 int             slow_speed = 1200;
 int             any_message = 0;
--- a/articles.c
+++ b/articles.c
@@ -33,6 +33,9 @@
 int             body_search_header = 0;
 int             cross_post_limit = 0;
 
+article_number  n_articles;
+article_header **articles;
+
 extern int      ignore_fancy_select;
 extern int      killed_articles;
 
--- a/articles.h
+++ b/articles.h
@@ -10,8 +10,8 @@
 
 /* article headers */
 
-article_number  n_articles;
-article_header **articles;
+extern article_number  n_articles;
+extern article_header **articles;
 
 
 typedef struct thunk {
--- a/news.h
+++ b/news.h
@@ -44,7 +44,9 @@
     char           *ng_xlines;	/* lines (from header)	 */
     int             ng_lines;	/* lines (decoded)		 */
     char           *ng_comment;	/* comment-to (rfmail)	 */
-}               news;
+};
+
+extern struct news_header news;
 
 
 /*
@@ -62,7 +64,9 @@
     char           *dg_to;	/* to				 */
 
     int             dg_lines;	/* lines (pseudo field)	 */
-}               digest;
+};
+
+extern struct digest_header digest;
 
 
 #define	NEWS_HEADER_BUFFER	4096
--- a/digest.c
+++ b/digest.c
@@ -23,6 +23,8 @@
 
 /* digest.c */
 
+struct digest_header digest;
+
 static char   **dg_hdr_field(register char *lp, int all);
 
 int             strict_from_parse = 2;
--- a/news.c
+++ b/news.c
@@ -22,6 +22,8 @@
 
 /* news.c */
 
+struct news_header news;
+
 static char   **art_hdr_field(register char *lp, int all);
 
 
