Source: nn Version: 6.7.3-14 Severity: normal Tags: patch Dear Maintainer,
>From a09d4736ab1efd42e84d5b8e6e62093f14316477 Mon Sep 17 00:00:00 2001 >From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> >Date: Wed, 3 Mar 2021 22:24:40 +0000 >Subject: [PATCH] group.h: fix an error from the compiler cc -Iconf -Wall -Wextra -Wformat=2 -Wstringop-overflow=4 -Wshadow=global -Wredundant-decls -Wunused -Wunused-parameter -fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error -fstack-protector-strong -fno-common -fstack-clash-protection -ftrapv -funsigned-char -fvar-tracking-assignments -ggdb -D_FORTIFY_SOURCE=2 -Wmissing-prototypes -Wold-style-definition -Wstrict-prototypes -Wold-style-declaration -std=c2x -c -o nn.o nn.c In file included from nn.c:25: group.h:6:97: error: unknown type name 'fct_type'; did you mean 'flag_type'? 6 | int group_menu(register group_header *, article_number, register flag_type, char *, fct_type); | ^~~~~~~~ | flag_type #### Use a specific type of "fct_type": int (*) (fct_type_void) Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> --- group.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/group.h b/group.h index e8341e5..4a21d9f 100644 --- a/group.h +++ b/group.h @@ -3,7 +3,8 @@ */ int group_completion(char *, int); -int group_menu(register group_header *, article_number, register flag_type, char *, fct_type); +int group_menu(register group_header *, article_number, register flag_type, char *, + int (*) (fct_type_void) ); group_header *lookup_regexp(char *, char *, int); int goto_group(int, article_header *, flag_type); void merge_and_read(flag_type, char *); -- 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