source.c: Use fgetc instead of getc.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 9 May 2013 06:52:21 +0000 (06:52 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 9 May 2013 06:52:21 +0000 (06:52 +0000)
commit40aea4772114f8c0b62595560e67b5e229b47ee6
tree5e2286fc44947f983a5737aa576dc20a0009f51c
parent9f0682fe89d9bb1107239411dc555d4063543ce0
source.c: Use fgetc instead of getc.

On AIX, getc is a macro which triggers an -Wunused-value warning.

gdb/ChangeLog:

        * source.c (forward_search_command): Replace call to getc
        by call to fgetc.
        (reverse_search_command): Likewise.
gdb/ChangeLog
gdb/source.c