Properly declare stuff in headers; remove redundant declarations.
This commit is contained in:
parent
cda6f0e7cc
commit
bfcfaf08c2
2 changed files with 1 additions and 2 deletions
|
@ -167,7 +167,7 @@ struct rptstr {
|
||||||
(struct nwsstr *) ef_ptr(EF_NEWS, n)
|
(struct nwsstr *) ef_ptr(EF_NEWS, n)
|
||||||
|
|
||||||
extern struct rptstr rpt[];
|
extern struct rptstr rpt[];
|
||||||
|
extern s_char *page_headings[];
|
||||||
extern int nws_maxno;
|
extern int nws_maxno;
|
||||||
|
|
||||||
#endif /* _NEWS_H_ */
|
#endif /* _NEWS_H_ */
|
||||||
|
|
|
@ -47,7 +47,6 @@ static void preport(register struct nwsstr *np);
|
||||||
int
|
int
|
||||||
news(void)
|
news(void)
|
||||||
{
|
{
|
||||||
extern s_char *page_headings[];
|
|
||||||
struct natstr *natp;
|
struct natstr *natp;
|
||||||
time_t now;
|
time_t now;
|
||||||
int page;
|
int page;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue