]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/stub-termcap.c
stub-termcap.c: prototype tputs's parameter's parameter, for C++ mode
authorPedro Alves <palves@redhat.com>
Mon, 16 Mar 2015 11:28:23 +0000 (11:28 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 16 Mar 2015 11:36:00 +0000 (11:36 +0000)
commitb1a921c8c6f9e3d033629f32473c6470c360b43f
treef6431481f899c5bf5546a1c787201edb0a1297bd
parent876d1cd7b5899e7927e298a7f7344a0da48425a9
stub-termcap.c: prototype tputs's parameter's parameter, for C++ mode

 src/gdb/stub-termcap.c: In function 'int tputs(char*, int, int (*)())':
 src/gdb/stub-termcap.c:67:22: error: too many arguments to function
      outfun (*string++);
       ^

gdb/ChangeLog:
2015-03-16  Pedro Alves  <palves@redhat.com>
    Yuanhui Zhang  <asmwarrior@gmail.com>

* stub-termcap.c (tputs): Change prototype.
gdb/ChangeLog
gdb/stub-termcap.c