aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2006-10-25 21:26:41 +0000
committerJim Blandy <jimb@codesourcery.com>2006-10-25 21:26:41 +0000
commit7080f20f8863b433acb94b87605e146c05a0704e (patch)
tree3092b69377dc73a42be52a07e9b8e9c806d3257c
parente9f531299306c33f3e110bd66e7f9daa29845e23 (diff)
downloadgdb-7080f20f8863b433acb94b87605e146c05a0704e.zip
gdb-7080f20f8863b433acb94b87605e146c05a0704e.tar.gz
gdb-7080f20f8863b433acb94b87605e146c05a0704e.tar.bz2
gdb/ChangeLog:
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.
-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,