aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-05-28 01:12:42 +0000
committerKevin Buettner <kevinb@redhat.com>2000-05-28 01:12:42 +0000
commita14ed312fd86dd2c862847230931451da2e49942 (patch)
treee7a00cec4f6ebd4b2d5dd59695c802ef6997d9da /gdb/source.c
parent3c07fb76e69e648d58d507fdb05cf8d461d87dcb (diff)
downloadgdb-a14ed312fd86dd2c862847230931451da2e49942.zip
gdb-a14ed312fd86dd2c862847230931451da2e49942.tar.gz
gdb-a14ed312fd86dd2c862847230931451da2e49942.tar.bz2
PARAMS removal.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/gdb/source.c b/gdb/source.c
index 9569aa0..f15badf 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -64,25 +64,25 @@
/* 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. */