2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
[deliverable/binutils-gdb.git] / gdb / reverse.c
index dbee326bba659f2f4cf9925c24e55886ccd32cf5..bbd3a6091841db15169a14dd3ee629dc512923f9 100644 (file)
@@ -1,6 +1,6 @@
 /* Reverse execution and reverse debugging.
 
-   Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -30,7 +30,8 @@
 /* User interface:
    reverse-step, reverse-next etc.  */
 
-static void exec_direction_default (void *notused)
+static void
+exec_direction_default (void *notused)
 {
   /* Return execution direction to default state.  */
   execution_direction = EXEC_FORWARD;
@@ -102,6 +103,9 @@ reverse_finish (char *args, int from_tty)
   exec_reverse_once ("finish", args, from_tty);
 }
 
+/* Provide a prototype to silence -Wmissing-prototypes.  */
+extern initialize_file_ftype _initialize_reverse;
+
 void
 _initialize_reverse (void)
 {
This page took 0.025236 seconds and 4 git commands to generate.