aboutsummaryrefslogtreecommitdiff
path: root/gdb/wince.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/wince.c')
-rw-r--r--gdb/wince.c23
1 files changed, 10 insertions, 13 deletions
diff --git a/gdb/wince.c b/gdb/wince.c
index 91ac5cf..c07ada0 100644
--- a/gdb/wince.c
+++ b/gdb/wince.c
@@ -786,7 +786,7 @@ close_handle (HANDLE h)
to terminate.
*/
static void
-stop_stub ()
+stop_stub (void)
{
if (s < 0)
return;
@@ -1067,7 +1067,7 @@ child_add_thread (DWORD id, HANDLE h)
/* Clear out any old thread list and reintialize it to a
pristine state. */
static void
-child_init_thread_list ()
+child_init_thread_list (void)
{
thread_info *th = &thread_head;
@@ -1515,8 +1515,7 @@ child_wait (int pid, struct target_waitstatus *ourstatus)
/* Print status information about what we're accessing. */
static void
-child_files_info (ignore)
- struct target_ops *ignore;
+child_files_info (struct target_ops *ignore)
{
printf_unfiltered ("\tUsing the running image of child %s.\n",
target_pid_to_str (inferior_pid));
@@ -1524,9 +1523,7 @@ child_files_info (ignore)
/* ARGSUSED */
static void
-child_open (arg, from_tty)
- char *arg;
- int from_tty;
+child_open (char *arg, int from_tty)
{
error ("Use the \"run\" command to start a child process.");
}
@@ -1645,7 +1642,7 @@ upload_to_device (const char *to, const char *from)
/* Initialize the connection to the remote device. */
static void
-wince_initialize ()
+wince_initialize (void)
{
int tmp;
char args[256];
@@ -1784,7 +1781,7 @@ child_create_inferior (char *exec_file, char *args, char **env)
/* Chile has gone bye-bye. */
static void
-child_mourn_inferior ()
+child_mourn_inferior (void)
{
(void) child_continue (DBG_CONTINUE, -1);
unpush_target (&child_ops);
@@ -1857,19 +1854,19 @@ child_resume (int pid, int step, enum target_signal sig)
}
static void
-child_prepare_to_store ()
+child_prepare_to_store (void)
{
/* Do nothing, since we can store individual regs */
}
static int
-child_can_run ()
+child_can_run (void)
{
return 1;
}
static void
-child_close ()
+child_close (void)
{
DEBUG_EVENTS (("gdb: child_close, inferior_pid=%d\n", inferior_pid));
}
@@ -1961,7 +1958,7 @@ set_upload_type (char *ignore, int from_tty)
}
void
-_initialize_inftarg ()
+_initialize_inftarg (void)
{
struct cmd_list_element *set;
init_child_ops ();