Dear Maintainer,
In file included from nn.c:32:
menu.h:65:1: warning: parameter names (without types) in function declaration
65 | int menu(fct_type);
| ^~~
####
Use an adequate function declaration "int (*)(void)" instead of
"fct_type)".
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
menu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/menu.h b/menu.h
index 6d1e903..e43ca02 100644
--- a/menu.h
+++ b/menu.h
@@ -62,7 +62,7 @@
#define AC_UNCHANGED 6 /* no display changes */
char *pct(long, long, long, long);
-int menu(fct_type);
+int menu(int (*)(void));
article_header *get_menu_article(void);
int alt_command(void);
int prt_replies(int);