/* nto-tdep.c - general QNX Neutrino target functionality.
- Copyright (C) 2003-2015 Free Software Foundation, Inc.
+ Copyright (C) 2003-2017 Free Software Foundation, Inc.
Contributed by QNX Software Systems Ltd.
}
int
-nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
+nto_find_and_open_solib (const char *solib, unsigned o_flags,
+ char **temp_pathname)
{
char *buf, *arch_path, *nto_root;
const char *endian;
gdb_assert (inf != NULL);
- inf_data = inferior_data (inf, nto_inferior_data_reg);
+ inf_data
+ = (struct nto_inferior_data *) inferior_data (inf, nto_inferior_data_reg);
if (inf_data == NULL)
{
set_inferior_data (inf, nto_inferior_data_reg,