summaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2002-09-13 00:18:33 +0000
committerJoel Brobecker <brobecker@gnat.com>2002-09-13 00:18:33 +0000
commita81736bb52480b9ffc506fbd7c8cfd9743a40e61 (patch)
tree82b418b6c4cb37c233951b837899575e94f9bd0d /gdb/valops.c
parent3586bf8d607c4ed96a29b54aaabfdd4dd3409665 (diff)
downloadgdb-a81736bb52480b9ffc506fbd7c8cfd9743a40e61.tar.gz
* value.h (find_function_in_inferior): Add const keyword to
one of the parameters. Allows us to invoke this function with a const char *. * valops.c (find_function_in_inferior): Likewise.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 1eeedd32cf7..b2199cbdfbe 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -95,7 +95,7 @@ int unwind_on_signal_p = 0;
/* Find the address of function name NAME in the inferior. */
struct value *
-find_function_in_inferior (char *name)
+find_function_in_inferior (const char *name)
{
register struct symbol *sym;
sym = lookup_symbol (name, 0, VAR_NAMESPACE, 0, NULL);