Skip to content

Commit

Permalink
fix -Wdeprecated-non-prototype
Browse files Browse the repository at this point in the history
Passing arguments to 'tparm' without a prototype
is deprecated in all versions of C and is not supported
in C2x [-Wdeprecated-non-prototype]
  • Loading branch information
alexander-naumov committed May 30, 2024
1 parent 8abfbde commit db1105c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/term.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit db1105c

Please sign in to comment.