gdb/
authorYao Qi <yao@codesourcery.com>
Thu, 14 Feb 2013 03:57:13 +0000 (03:57 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 14 Feb 2013 03:57:13 +0000 (03:57 +0000)
* tracepoint.c (end_actions_pseudocommand): Make it static.
(while_stepping_pseudocommand): Likewise.
* tracepoint.h (end_actions_pseudocommand): Remove the
declaration.
(while_stepping_pseudocommand): Likewise.

gdb/ChangeLog
gdb/tracepoint.c
gdb/tracepoint.h

index 42c10e52dae7ea92e4438e75fd70f6e291d84818..655e7edc0e7b4bae4a2bb282a1a3e56c0630d17e 100644 (file)
@@ -1,3 +1,11 @@
+2013-02-14  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (end_actions_pseudocommand): Make it static.
+       (while_stepping_pseudocommand): Likewise.
+       * tracepoint.h (end_actions_pseudocommand): Remove the
+       declaration.
+       (while_stepping_pseudocommand): Likewise.
+
 2013-02-14  Yao Qi  <yao@codesourcery.com>
 
        * cli/cli-decode.c (help_cmd): Remove the declaration of
index b45863e3e675231ea70e6aff7a8fb89c900f58a6..d4b0549cc92740265a2ae21b4062e5f7caa2b8bb 100644 (file)
@@ -565,13 +565,13 @@ save_trace_state_variables (struct ui_file *fp)
    it means that somebody issued the "command" at the top level,
    which is always an error.  */
 
-void
+static void
 end_actions_pseudocommand (char *args, int from_tty)
 {
   error (_("This command cannot be used at the top level."));
 }
 
-void
+static void
 while_stepping_pseudocommand (char *args, int from_tty)
 {
   error (_("This command can only be used in a tracepoint actions list."));
index 2e1d83acd0ed5afedca0389d2d1a11d75a1ff0e5..f95bb545b2c60f9a27dfa6b9109b141c57b91e49 100644 (file)
@@ -244,9 +244,6 @@ extern void encode_actions (struct breakpoint *t, struct bp_location *tloc,
 
 extern void validate_actionline (char **, struct breakpoint *);
 
-extern void end_actions_pseudocommand (char *args, int from_tty);
-extern void while_stepping_pseudocommand (char *args, int from_tty);
-
 extern struct trace_state_variable *find_trace_state_variable (const char *name);
 extern struct trace_state_variable *create_trace_state_variable (const char *name);