Source: nn Version: 6.7.3-14 Severity: normal Tags: patch Dear Maintainer,
>From 34b4cf72fdb07ce1b37550e10d9064a2406828a1 Mon Sep 17 00:00:00 2001 >From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> >Date: Sat, 6 Mar 2021 17:11:00 +0000 >Subject: [PATCH] news.h: fix a warning about a missing declaration in a > prototype In file included from more.c:25: news.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] 76 | char *parse_header(FILE *, char **(*) (), int, news_header_buffer); | ^~~~ Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> --- news.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news.h b/news.h index b23c841..6a6127b 100644 --- a/news.h +++ b/news.h @@ -73,7 +73,7 @@ extern struct digest_header digest; typedef char news_header_buffer[NEWS_HEADER_BUFFER]; -char *parse_header(FILE *, char **(*) (), int, news_header_buffer); +char *parse_header(FILE *, char **(*) (char *, int), int, news_header_buffer); int is_header_line(char *); FILE *open_news_article(article_header *, int, news_header_buffer, news_header_buffer); -- 2.30.1 -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.9-1 (SMP w/2 CPU threads) Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) -- debconf information excluded -- Bjarni I. Gislason