Add GPL copyright notices to uncopyrighted files.
[deliverable/binutils-gdb.git] / gdb / source.c
index dd26043b2cbc32b9ecc4a31d2ada12161dfa02d9..f15badf640e3fcb0422b5396901f5a05a5cf1726 100644 (file)
@@ -33,7 +33,7 @@
 #include "gdb_stat.h"
 #include <fcntl.h>
 #include "gdbcore.h"
-#include "gnu-regex.h"
+#include "gdb_regex.h"
 #include "symfile.h"
 #include "objfiles.h"
 #include "annotate.h"
 
 /* Prototypes for exported functions. */
 
-void _initialize_source PARAMS ((void));
+void _initialize_source (void);
 
 /* Prototypes for local functions. */
 
-static int get_filename_and_charpos PARAMS ((struct symtab *, char **));
+static int get_filename_and_charpos (struct symtab *, char **);
 
-static void reverse_search_command PARAMS ((char *, int));
+static void reverse_search_command (char *, int);
 
-static void forward_search_command PARAMS ((char *, int));
+static void forward_search_command (char *, int);
 
-static void line_info PARAMS ((char *, int));
+static void line_info (char *, int);
 
-static void list_command PARAMS ((char *, int));
+static void list_command (char *, int);
 
-static void ambiguous_line_spec PARAMS ((struct symtabs_and_lines *));
+static void ambiguous_line_spec (struct symtabs_and_lines *);
 
-static void source_info PARAMS ((char *, int));
+static void source_info (char *, int);
 
-static void show_directories PARAMS ((char *, int));
+static void show_directories (char *, int);
 
 /* Path of directories to search for source files.
    Same format as the PATH environment variable's value.  */
@@ -996,7 +996,8 @@ identify_source_line (s, line, mid_statement, pc)
 /* Print source lines from the file of symtab S,
    starting with line number LINE and stopping before line number STOPLINE. */
 
-static void print_source_lines_base PARAMS ((struct symtab * s, int line, int stopline, int noerror));
+static void print_source_lines_base (struct symtab *s, int line, int stopline,
+                                    int noerror);
 static void
 print_source_lines_base (s, line, stopline, noerror)
      struct symtab *s;
@@ -1167,8 +1168,8 @@ print_source_lines (s, line, stopline, noerror)
   else
     {
       TuiGenWinInfoPtr locator = locatorWinInfoPtr ();
-      extern void tui_vAddWinToLayout PARAMS ((va_list));
-      extern void tui_vUpdateSourceWindowsWithLine PARAMS ((va_list));
+extern void tui_vAddWinToLayout (va_list);
+extern void tui_vUpdateSourceWindowsWithLine (va_list);
 
       /* Regardless of whether we can open the file,
          set current_source_symtab. */
This page took 0.024162 seconds and 4 git commands to generate.