Move C-related declarations to compile-c.h
[deliverable/binutils-gdb.git] / sim / common / sim-load.c
index f077065bcf5cb273bb17d964ce0a152d3ab54aa0..99e2d303e0ee80cae100fe2c6f559c18ddd9f90f 100644 (file)
@@ -1,5 +1,5 @@
 /* Utility to load a file into the simulator.
-   Copyright (C) 1997-2014 Free Software Foundation, Inc.
+   Copyright (C) 1997-2018 Free Software Foundation, Inc.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
    to suggest that they shouldn't :-)].  */
 
 #ifdef HAVE_CONFIG_H
-#include "cconfig.h"
+#include "config.h"
 #endif
 #include "ansidecl.h"
 #include <stdio.h> /* for NULL */
@@ -57,7 +57,7 @@ static void xprintf_bfd_vma (host_callback *, bfd_vma);
 
 bfd *
 sim_load_file (SIM_DESC sd, const char *myname, host_callback *callback,
-              char *prog, bfd *prog_bfd, int verbose_p, int lma_p,
+              const char *prog, bfd *prog_bfd, int verbose_p, int lma_p,
               sim_write_fn do_write)
 {
   asection *s;
This page took 0.023077 seconds and 4 git commands to generate.