From b37bcaa80e9561dc3efb3ba852b87bb9cfdc64ba Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Wed, 14 Jun 2000 00:59:07 +0000 Subject: [PATCH] PARAMS elimination. --- gdb/ChangeLog | 4 ++++ gdb/ser-ocd.c | 2 +- gdb/symtab.c | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6daf6afeb0c..dff4b9804c1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-06-13 Kevin Buettner + + * ser-ocd.c, symtab.c: Eliminate use of PARAMS from these files. + Tue Jun 13 09:21:23 2000 Jeffrey A Law (law@cygnus.com) * configure.host (hppa*64*): Renamed from hppa2.0w per diff --git a/gdb/ser-ocd.c b/gdb/ser-ocd.c index c5c71035af1..deb2d3d05bc 100644 --- a/gdb/ser-ocd.c +++ b/gdb/ser-ocd.c @@ -49,7 +49,7 @@ ocd_open (scb, name) if (handle == NULL) error ("Can't load Wigglers.dll"); - dll_do_command = ((int (*)PARAMS ((const char *, char *))) + dll_do_command = ((int (*) (const char *, char *)) GetProcAddress (handle, "do_command")); if (dll_do_command == NULL) error ("Can't find do_command function in Wigglers.dll"); diff --git a/gdb/symtab.c b/gdb/symtab.c index 5f0e84aeefe..fd9c150affa 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -77,9 +77,9 @@ char *operator_chars (char *, char **); static int find_line_common (struct linetable *, int, int *); -static struct partial_symbol *lookup_partial_symbol PARAMS - ((struct partial_symtab *, const char *, - int, namespace_enum)); +static struct partial_symbol *lookup_partial_symbol (struct partial_symtab *, + const char *, int, + namespace_enum); static struct partial_symbol *fixup_psymbol_section (struct partial_symbol *, -- 2.30.2