aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/p-valprint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bd5e67d..26954c8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-25 Jim Blandy <jimb@codesourcery.com>
+
+ * p-valprint.c (pascal_object_print_value): Add 'static' keyword
+ to function definition, to match declaration earlier in file.
+
2006-10-21 Paul Brook <paul@codesourcery.com>
* remote.c (remote_fetch_registers): Fix error message.
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index 9eef4f7..33b7974 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -915,7 +915,7 @@ pascal_object_print_value_fields (struct type *type, const gdb_byte *valaddr,
/* Special val_print routine to avoid printing multiple copies of virtual
baseclasses. */
-void
+static void
pascal_object_print_value (struct type *type, const gdb_byte *valaddr,
CORE_ADDR address, struct ui_file *stream,
int format, int recurse,