+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.
#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);
}
/* continue [-a] [proceed-count] [&] */
-void
+static void
continue_command (char *args, int from_tty)
{
int async_exec = 0;
/* 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);
}
}
-void
+static void
all_registers_info (char *addr_exp, int from_tty)
{
registers_info (addr_exp, 1);
if the `-a' switch is used. */
/* interrupt [-a] */
-void
+static void
interrupt_target_command (char *args, int from_tty)
{
if (target_can_async_p ())
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);