Make set_cmd_cfunc private
[deliverable/binutils-gdb.git] / gdb / corefile.c
index 0996f9c02121ae76859c0793d20adf5f173fbeb2..b9d95c07dbde272babac2943bc605e7b92e904ca 100644 (file)
 #include "observer.h"
 #include "cli/cli-utils.h"
 
-/* Local function declarations.  */
-
-extern void _initialize_core (void);
-
 /* You can have any number of hooks for `exec_file_command' command to
    call.  If there's only one hook, it is set in exec_file_display
    hook.  If there are two or more hooks, they are set in
@@ -65,7 +61,7 @@ struct target_ops *core_target;
 /* Backward compatability with old way of specifying core files.  */
 
 void
-core_file_command (char *filename, int from_tty)
+core_file_command (const char *filename, int from_tty)
 {
   dont_repeat ();              /* Either way, seems bogus.  */
 
This page took 0.034563 seconds and 4 git commands to generate.