aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open.c
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2025-04-30 16:49:44 +1200
committerTom Tromey <tromey@adacore.com>2025-05-02 12:00:05 -0600
commit5c87b330e910f8be1443c881fd16a70e685f1f2f (patch)
tree8ce6df299ce897e7ee5a19827d95a1d380895022 /libctf/ctf-open.c
parentb381c2381c5b069c3f2e969334368c4d4fdf25be (diff)
downloadbinutils-5c87b330e910f8be1443c881fd16a70e685f1f2f.zip
binutils-5c87b330e910f8be1443c881fd16a70e685f1f2f.tar.gz
binutils-5c87b330e910f8be1443c881fd16a70e685f1f2f.tar.bz2
readline/tcap.h: Update definitions for C23
C23 changes how function definitions like int `int tputs ()` are interpreted. In older standards this meant that the function arguments are unknown. In C23 this is interpreted as `int tputs (void)` so now when we compile with GCC15 (which defaults to -std=gnu23) we get an error such as readline/display.c:2839:17: error: too many arguments to function 'tputs'; expected 0, have 3 Add the function arguments for tgetent(), tgetflag(), tgetnum(), tgetstr(), tputs() and tgoto(). Signed-off-by: Chris Packham <judge.packham@gmail.com> Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions