Source: nn Version: 6.7.3-14 Severity: normal Tags: patch Dear Maintainer,
>From 647e71c0e726a4dc011c7df471d6032ddb5baa40 Mon Sep 17 00:00:00 2001 >From: Bjarni Ingi Gislason <[email protected]> >Date: Thu, 4 Mar 2021 00:04:12 +0000 >Subject: [PATCH] nn_term.h: fix a warning from the compiler In file included from nn.c:39: nn_term.h:93:47: error: unknown type name 'fct_type' 93 | char *get_s(char *, char *, char *, fct_type); | ^~~~~~~~ #### Use special function declaration "fct_type_char_int" instead of "fct_type. Signed-off-by: Bjarni Ingi Gislason <[email protected]> --- nn_term.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nn_term.h b/nn_term.h index 778c9f0..92d7b3e 100644 --- a/nn_term.h +++ b/nn_term.h @@ -48,7 +48,7 @@ extern int STANDOUT; */ -extern int prompt_line; /* prompt line */ +/* extern int prompt_line; */ /* prompt line */ #define P_MOVE (char *)1 #define P_REDRAW (char *)5 @@ -90,7 +90,7 @@ int no_raw(void); int unset_raw(void); void flush_input(void); int get_c(void); -char *get_s(char *, char *, char *, fct_type); +char *get_s(char *, char *, char *, fct_type_char_int); int list_completion(char *); int yes(int); void ding(void); -- 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

