X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fp-lang.h;h=7d1d285bd9431ea431a9554e852931ae53928a17;hb=488d02fe7729dda5b9414a3942df68e0c316ce53;hp=1f82c1ac1f49a6ec906985025a2758341ff88fe0;hpb=7fa29be949a96f68ee65dcdb4f56f132609170db;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/p-lang.h b/gdb/p-lang.h index 1f82c1ac1f..7d1d285bd9 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-2017 Free Software Foundation, Inc. + Copyright (C) 2000-2019 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 (const 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 *); @@ -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 */