aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-02-14 03:57:13 +0000
committerYao Qi <yao@codesourcery.com>2013-02-14 03:57:13 +0000
commit7b3ae3a66fc5e88b441ab616ef728e00d11c249e (patch)
treeb6d4b17dcdfac2e13a5d3214f638273204968058 /gdb/tracepoint.c
parent55015247e37b04306b4c8ccc463d3ddc09bab1db (diff)
downloadgdb-7b3ae3a66fc5e88b441ab616ef728e00d11c249e.zip
gdb-7b3ae3a66fc5e88b441ab616ef728e00d11c249e.tar.gz
gdb-7b3ae3a66fc5e88b441ab616ef728e00d11c249e.tar.bz2
gdb/
* tracepoint.c (end_actions_pseudocommand): Make it static. (while_stepping_pseudocommand): Likewise. * tracepoint.h (end_actions_pseudocommand): Remove the declaration. (while_stepping_pseudocommand): Likewise.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index b45863e..d4b0549 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -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."));