aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-10-15 15:14:58 +0100
committerAndrew Burgess <aburgess@redhat.com>2021-12-03 11:00:37 +0000
commitbf94cfb6318572bc3eece37273140d45279a8768 (patch)
tree48acb8541d0e50644aa93da289b34cc512c2b256 /gdb/value.h
parentcc7ea7504c49baae6853c4f6b926271a2029c73d (diff)
downloadgdb-bf94cfb6318572bc3eece37273140d45279a8768.zip
gdb-bf94cfb6318572bc3eece37273140d45279a8768.tar.gz
gdb-bf94cfb6318572bc3eece37273140d45279a8768.tar.bz2
gdb: make value_subscripted_rvalue static
The function value_subscripted_rvalue is only used in valarith.c, so lets make it a static function. There should be no user visible change after this commit.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/value.h b/gdb/value.h
index aa10564..6fa57e0 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -1165,10 +1165,6 @@ extern struct value *find_function_in_inferior (const char *,
extern struct value *value_allocate_space_in_inferior (int);
-extern struct value *value_subscripted_rvalue (struct value *array,
- LONGEST index,
- LONGEST lowerbound);
-
/* User function handler. */
typedef struct value *(*internal_function_fn) (struct gdbarch *gdbarch,