From: Markus Armbruster Date: Thu, 19 Feb 2004 16:25:14 +0000 (+0000) Subject: Properly declare stuff in headers; remove redundant declarations. X-Git-Tag: v4.2.14~169 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=bfcfaf08c2d9db82a895206847daefe421ce4dc7 Properly declare stuff in headers; remove redundant declarations. --- diff --git a/include/news.h b/include/news.h index 1443c5be6..85193de19 100644 --- a/include/news.h +++ b/include/news.h @@ -167,7 +167,7 @@ struct rptstr { (struct nwsstr *) ef_ptr(EF_NEWS, n) extern struct rptstr rpt[]; - +extern s_char *page_headings[]; extern int nws_maxno; #endif /* _NEWS_H_ */ diff --git a/src/lib/commands/news.c b/src/lib/commands/news.c index 6ecfbb0be..db6eb57ad 100644 --- a/src/lib/commands/news.c +++ b/src/lib/commands/news.c @@ -47,7 +47,6 @@ static void preport(register struct nwsstr *np); int news(void) { - extern s_char *page_headings[]; struct natstr *natp; time_t now; int page;