aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-05-15 12:49:05 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-05-15 12:49:05 +0000
commitaf880d85b8ba82c4cd3bfc987df6f8ae85ebb917 (patch)
tree29d7b98d8d1f3433f11ace8e1985478b60025479 /gdb/utils.h
parent356a523362d2d4afc329f318a0d144ba6ee20d7f (diff)
downloadgdb-af880d85b8ba82c4cd3bfc987df6f8ae85ebb917.zip
gdb-af880d85b8ba82c4cd3bfc987df6f8ae85ebb917.tar.gz
gdb-af880d85b8ba82c4cd3bfc987df6f8ae85ebb917.tar.bz2
Remove forward enum declaration in utils.h.
These forward declarations are a GNU extension, and they trigger a build warning when the compiler does not support it. gdb/ChangeLog: * utils.h: #include "exceptions.h". (enum errors): Remove partial declaration.
Diffstat (limited to 'gdb/utils.h')
-rw-r--r--gdb/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.h b/gdb/utils.h
index ad5bea4..71ce867 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -22,6 +22,7 @@
#define UTILS_H
#include "cleanups.h"
+#include "exceptions.h"
extern void initialize_utils (void);
@@ -278,7 +279,6 @@ extern char *hex_string_custom (LONGEST, int);
extern void fprintf_symbol_filtered (struct ui_file *, const char *,
enum language, int);
-enum errors;
extern void throw_perror_with_name (enum errors errcode, const char *string)
ATTRIBUTE_NORETURN;
extern void perror_with_name (const char *) ATTRIBUTE_NORETURN;