aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-02-02 03:42:59 +0000
committerAndrew Cagney <cagney@redhat.com>2002-02-02 03:42:59 +0000
commit255e7dbf2e106ccba748f1d34422d9df7fcc1038 (patch)
tree8049bf598088831675b090b7bbb04419768c308e /gdb/utils.c
parent261c4ca20698ffa0b5efa6a0908c55aae31711e8 (diff)
downloadgdb-255e7dbf2e106ccba748f1d34422d9df7fcc1038.zip
gdb-255e7dbf2e106ccba748f1d34422d9df7fcc1038.tar.gz
gdb-255e7dbf2e106ccba748f1d34422d9df7fcc1038.tar.bz2
* utils.c (error_begin): Make static.
* defs.h (error_begin): Delete declaration. * linespec.c (cplusplus_error): Replace cplusplus_hint. (decode_line_1): Use cplusplus_error instead of error_begin, cplusplus_hint and return_to_top_level. * coffread.c (coff_symfile_read): Use error instead of error_begin and return_to_top_level. * infrun.c (default_skip_permanent_breakpoint): Ditto.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 2459dea..c3e5a50 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -600,7 +600,7 @@ warning (const char *string,...)
error() provides a convenient way to do this for the special case
that the error message can be formatted with a single printf call,
but this is more general. */
-void
+static void
error_begin (void)
{
if (error_begin_hook)