From 14ef7606b7caabbde8afd1e7a8b54eeb8c26e555 Mon Sep 17 00:00:00 2001 From: Aleksandar Ristovski Date: Wed, 23 Jul 2008 13:36:00 +0000 Subject: * nto-procfs.c (procfs_xfer_memory): Changed signature. (procfs_resume): Workaround for dereferencing type-punned pointer warning. * nto-tdep.c (nto_parse_redirection): Change signature to be const correct. * nto-tdep.h (nto_parse_redirection): Likewise. --- gdb/nto-tdep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/nto-tdep.h') diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h index 6db2b064973..30be3c54857 100644 --- a/gdb/nto-tdep.h +++ b/gdb/nto-tdep.h @@ -144,8 +144,8 @@ void nto_init_solib_absolute_prefix (void); void nto_set_target(struct nto_target_ops *); -char **nto_parse_redirection (char *start_argv[], char **in, - char **out, char **err); +char **nto_parse_redirection (char *start_argv[], const char **in, + const char **out, const char **err); int proc_iterate_over_mappings (int (*func) (int, CORE_ADDR)); -- cgit v1.2.1