Constify strings in tracepoint.c, lookup_cmd and the completers.
[deliverable/binutils-gdb.git] / gdb / cli / cli-script.h
index 9567f6e9a0b900bbd380d5005109ee7a2f87237d..31db811b87d099d655b0e6914bf5b3f2c32f58b9 100644 (file)
@@ -1,6 +1,5 @@
 /* Header file for GDB CLI command implementation library.
-   Copyright (c) 2000, 2002, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2000-2013 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
@@ -26,16 +25,10 @@ struct cmd_list_element;
 
 extern void script_from_file (FILE *stream, const char *file);
 
-extern void document_command (char *, int);
-
-extern void define_command (char *, int);
-
-extern void while_command (char *arg, int from_tty);
-
-extern void if_command (char *arg, int from_tty);
-
-extern void show_user_1 (struct cmd_list_element *c, char *prefix,
-                        char *name, struct ui_file *stream);
+extern void show_user_1 (struct cmd_list_element *c,
+                        const char *prefix,
+                        const char *name,
+                        struct ui_file *stream);
 
 /* Exported to gdb/breakpoint.c */
 
@@ -53,7 +46,8 @@ extern void print_command_lines (struct ui_out *,
 
 extern struct command_line * copy_command_lines (struct command_line *cmds);
 
-struct cleanup *make_cleanup_free_command_lines (struct command_line **arg);
+extern struct cleanup *
+  make_cleanup_free_command_lines (struct command_line **arg);
 
 /* Exported to gdb/infrun.c */
 
This page took 0.028633 seconds and 4 git commands to generate.