aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2007-12-17 07:00:49 +0000
committerJoel Brobecker <brobecker@gnat.com>2007-12-17 07:00:49 +0000
commitb62f344344a5ba95ea35e2bbacd8324d0cea781d (patch)
tree24b0e4b4bd72b5a84c532068bb387b0d9f3804d9 /gdb/language.h
parentf164edfa5d4b3910cfb4fb221ff4f483f09d2ab4 (diff)
downloadfsf-binutils-gdb-b62f344344a5ba95ea35e2bbacd8324d0cea781d.zip
fsf-binutils-gdb-b62f344344a5ba95ea35e2bbacd8324d0cea781d.tar.gz
fsf-binutils-gdb-b62f344344a5ba95ea35e2bbacd8324d0cea781d.tar.bz2
* language.h (enum exp_opcode): Add forward declaration.
(language_string_char_type, language_lookup_primitive_type_by_name): Move declaration past declaration of language_defn.
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/language.h b/gdb/language.h
index fc1a99d..22e6a46 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -30,8 +30,7 @@ struct objfile;
struct frame_info;
struct expression;
struct ui_file;
-
-/* enum exp_opcode; ANSI's `wisdom' didn't include forward enum decls. */
+enum exp_opcode;
/* This used to be included to configure GDB for one or more specific
languages. Now it is left out to configure for all of them. FIXME. */
@@ -129,13 +128,6 @@ struct language_arch_info
struct type *string_char_type;
};
-struct type *language_string_char_type (const struct language_defn *l,
- struct gdbarch *gdbarch);
-
-struct type *language_lookup_primitive_type_by_name (const struct language_defn *l,
- struct gdbarch *gdbarch,
- const char *name);
-
/* Structure tying together assorted information about a language. */
struct language_defn
@@ -314,6 +306,14 @@ extern enum language_mode
language_mode_auto, language_mode_manual
}
language_mode;
+
+struct type *language_string_char_type (const struct language_defn *l,
+ struct gdbarch *gdbarch);
+
+struct type *language_lookup_primitive_type_by_name (const struct language_defn *l,
+ struct gdbarch *gdbarch,
+ const char *name);
+
/* These macros define the behaviour of the expression
evaluator. */