X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fp-lang.h;h=7c2b442d0e4d2820ffd81a04ca6b1b0fd95db18c;hb=915808f652b63746052b1ef59403650b45a30e4f;hp=5d3a685d2881e16fd47f2438252f364b75b4b89e;hpb=e8b24d9ff5b9419fc079f5fe975fac6f499f8bfb;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/p-lang.h b/gdb/p-lang.h index 5d3a685d28..7c2b442d0e 100644 --- a/gdb/p-lang.h +++ b/gdb/p-lang.h @@ -1,6 +1,6 @@ /* Pascal language support definitions for GDB, the GNU debugger. - Copyright (C) 2000-2016 Free Software Foundation, Inc. + Copyright (C) 2000-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef P_LANG_H +#define P_LANG_H + /* This file is derived from c-lang.h */ struct value; @@ -27,8 +30,6 @@ extern const char *pascal_main_name (void); extern int pascal_parse (struct parser_state *); /* Defined in p-exp.y */ -extern void pascal_yyerror (char *); /* Defined in p-exp.y */ - /* Defined in p-typeprint.c */ extern void pascal_print_type (struct type *, const char *, struct ui_file *, int, int, const struct type_print_options *); @@ -59,7 +60,7 @@ extern void pascal_printstr (struct ui_file *, struct type *, const gdb_byte *, unsigned int, const char *, int, const struct value_print_options *); -extern struct type **const (pascal_builtin_types[]); +extern struct type **const pascal_builtin_types[]; /* These are in p-typeprint.c: */ @@ -82,3 +83,5 @@ extern void pascal_object_print_value_fields (struct type *, const gdb_byte *, extern int pascal_object_is_vtbl_ptr_type (struct type *); extern int pascal_object_is_vtbl_member (struct type *); + +#endif /* P_LANG_H */