X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fm2-lang.h;h=81c346086e884e147911a5f06e6bc64c85d7e029;hb=db2d40f7d0b8477ca5ad9e305b8137a085434c97;hp=b35a0ca97d86bafd35d025cc87d15ebe7dd4e6eb;hpb=e8b24d9ff5b9419fc079f5fe975fac6f499f8bfb;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h index b35a0ca97d..81c346086e 100644 --- a/gdb/m2-lang.h +++ b/gdb/m2-lang.h @@ -1,6 +1,6 @@ /* Modula 2 language support definitions for GDB, the GNU debugger. - Copyright (C) 1992-2016 Free Software Foundation, Inc. + Copyright (C) 1992-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -17,13 +17,14 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef M2_LANG_H +#define M2_LANG_H + struct type_print_options; struct parser_state; extern int m2_parse (struct parser_state *); /* Defined in m2-exp.y */ -extern void m2_yyerror (char *); /* Defined in m2-exp.y */ - /* Defined in m2-typeprint.c */ extern void m2_print_type (struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *); @@ -56,3 +57,4 @@ struct builtin_m2_type /* Return the Modula-2 type table for the specified architecture. */ extern const struct builtin_m2_type *builtin_m2_type (struct gdbarch *gdbarch); +#endif /* M2_LANG_H */