* infcmd.c (all_registers_info, nexti_command, stepi_command)
authorTom Tromey <tromey@redhat.com>
Tue, 18 Dec 2012 19:31:17 +0000 (19:31 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 18 Dec 2012 19:31:17 +0000 (19:31 +0000)
(continue_command, interrupt_target_command): Now static.
(registers_info): Remove declaration.
* inferior.h (all_registers_info, nexti_command, stepi_command)
(continue_command, interrupt_target_command): Don't declare.

gdb/ChangeLog
gdb/infcmd.c
gdb/inferior.h

index c965eeacc49f6c9f279f49e91db9b974c059c30a..a43a218c7ac4eec244290138216074fd0c83f819 100644 (file)
@@ -1,3 +1,11 @@
+2012-12-18  Tom Tromey  <tromey@redhat.com>
+
+       * infcmd.c (all_registers_info, nexti_command, stepi_command)
+       (continue_command, interrupt_target_command): Now static.
+       (registers_info): Remove declaration.
+       * inferior.h (all_registers_info, nexti_command, stepi_command)
+       (continue_command, interrupt_target_command): Don't declare.
+
 2012-12-12  Tom Tromey  <tromey@redhat.com>
 
        * cli/cli-cmds.c (apropos_command): Now static.
index 4e38725ce29ca4ea616a711b2079deebe0e48ffc..af89a0fe8d82562682dc8461ac89aaa92d2d16da 100644 (file)
 #include "continuations.h"
 #include "linespec.h"
 
-/* Functions exported for general use, in inferior.h: */
-
-void all_registers_info (char *, int);
-
-void registers_info (char *, int);
-
-void nexti_command (char *, int);
-
-void stepi_command (char *, int);
-
-void continue_command (char *, int);
-
-void interrupt_target_command (char *args, int from_tty);
-
 /* Local functions: */
 
 static void nofp_registers_info (char *, int);
@@ -756,7 +742,7 @@ continue_1 (int all_threads)
 }
 
 /* continue [-a] [proceed-count] [&]  */
-void
+static void
 continue_command (char *args, int from_tty)
 {
   int async_exec = 0;
@@ -875,13 +861,13 @@ next_command (char *count_string, int from_tty)
 
 /* Likewise, but step only one instruction.  */
 
-void
+static void
 stepi_command (char *count_string, int from_tty)
 {
   step_1 (0, 1, count_string);
 }
 
-void
+static void
 nexti_command (char *count_string, int from_tty)
 {
   step_1 (1, 1, count_string);
@@ -2294,7 +2280,7 @@ registers_info (char *addr_exp, int fpregs)
     }
 }
 
-void
+static void
 all_registers_info (char *addr_exp, int from_tty)
 {
   registers_info (addr_exp, 1);
@@ -2809,7 +2795,7 @@ interrupt_target_1 (int all_threads)
    if the `-a' switch is used.  */
 
 /* interrupt [-a]  */
-void
+static void
 interrupt_target_command (char *args, int from_tty)
 {
   if (target_can_async_p ())
index f7236e7b55b95217e130ba948556b516b9d787ae..fa55425c00e10d7a99a6028ac23b4ab40cb1e2db 100644 (file)
@@ -242,20 +242,10 @@ extern void set_inferior_args (char *);
 
 extern void set_inferior_args_vector (int, char **);
 
-extern void all_registers_info (char *, int);
-
 extern void registers_info (char *, int);
 
-extern void nexti_command (char *, int);
-
-extern void stepi_command (char *, int);
-
 extern void continue_1 (int all_threads);
 
-extern void continue_command (char *, int);
-
-extern void interrupt_target_command (char *args, int from_tty);
-
 extern void interrupt_target_1 (int all_threads);
 
 extern void delete_longjmp_breakpoint_cleanup (void *arg);
This page took 0.033916 seconds and 4 git commands to generate.