aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-08-24 22:51:50 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-08-24 22:51:50 -0400
commit2677f2d3fdb07cc77d0d88e52fb37dfb6217dec9 (patch)
tree43b4857a5707aa1db9293a335b94c1d81df91995 /gdb/valprint.c
parent4cf3d79e64bebab661564d81bd72a9d8436dbb3a (diff)
downloadgdb-2677f2d3fdb07cc77d0d88e52fb37dfb6217dec9.zip
gdb-2677f2d3fdb07cc77d0d88e52fb37dfb6217dec9.tar.gz
gdb-2677f2d3fdb07cc77d0d88e52fb37dfb6217dec9.tar.bz2
gdb: move declaration of valprint_check_validity to valprint.h
The implementation is in valprint.c, so the declaration belongs in valprint.h. gdb/ChangeLog: * value.h (valprint_check_validity): Move declaration from here... * valprint.h (valprint_check_validity): ... to here. Change-Id: Ibe577d3696720099e6d79888d4ee8e3c1bf05a26
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r--gdb/valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index db98ca2..d95b170 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -301,7 +301,7 @@ val_print_scalar_or_string_type_p (struct type *type,
|| language->is_string_type_p (type));
}
-/* See its definition in value.h. */
+/* See valprint.h. */
int
valprint_check_validity (struct ui_file *stream,