fix -Wdeprecated-non-prototype

Passing arguments to 'tparm' without a prototype
is deprecated in all versions of C and is not supported
in C2x [-Wdeprecated-non-prototype]
This commit is contained in:
Alexander Naumov
2024-05-30 15:21:41 +02:00
parent 53bbd19757
commit 67514aa778

View File

@@ -27,7 +27,7 @@ extern int tgetnum(char *);
extern char *tgetstr(char *, char **);
extern char *tgoto(const char *, int, int);
extern int tputs(const char *, int, int (*)(int));
extern char *tparm();
extern char *tparm(char *str, ...);
struct term
{