Make functions in cli-dump.c static and remove cli-dump.h.
authorPedro Alves <palves@redhat.com>
Fri, 9 Aug 2013 15:37:35 +0000 (15:37 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 9 Aug 2013 15:37:35 +0000 (15:37 +0000)
commitdb229724662fbf62607db43232fcaa3745579a52
tree1bcdc805ee1b27ae1408b544e043a603418935ff
parent3f12a589a083c783113c099aef51ff304af34f0f
Make functions in cli-dump.c static and remove cli-dump.h.

I noticed the functions declared in cli-dump.h aren't used anywhere
outside cli-dump.c.

The original patch that introduced cli-dump.c didn't include this header:

 http://sourceware.org/ml/gdb-patches/2002-03/msg00518.html

But for some reason that I couldn't find from reading the archives around
that patch's discussion, cli-dump.h was introduced in the final checkin,
at:

 http://sourceware.org/ml/gdb-patches/2002-03/msg00596.html

There seems to be no point in keeping this around nowadays.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* cli/cli-dump.c: Don't include cli/cli-dump.h.
(scan_expression_with_cleanup, scan_filename_with_cleanup)
(fopen_with_cleanup, add_dump_command): Make static.
* cli/cli-dump.h: Delete file.
* Makefile.in (HFILES_NO_SRCDIR): Remove reference to
cli/cli-dump.h.
gdb/ChangeLog
gdb/Makefile.in
gdb/cli/cli-dump.c
gdb/cli/cli-dump.h [deleted file]