This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH RFC] PARAMS elimination: procfs.c, remote.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH RFC] PARAMS elimination: procfs.c, remote.c
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Fri, 9 Jun 2000 18:46:07 -0700
More PARAMS elimination... as before, I'll wait two days for comments
regarding the changes below and then commit if I see no objections.
After this patch is committed, there will be 23 occurrences of PARAMS
left to be eliminated from the *.[hcy] files.
* procfs.c, remote.c: Eliminate use of PARAMS from these files.
Index: procfs.c
===================================================================
RCS file: /cvs/src/src/gdb/procfs.c,v
retrieving revision 1.17
diff -u -r1.17 procfs.c
--- procfs.c 2000/06/04 13:46:37 1.17
+++ procfs.c 2000/06/10 01:37:07
@@ -98,7 +98,7 @@
* This module defines the GDB target vector and its methods.
*/
-static void procfs_open PARAMS((char *, int));
+static void procfs_open (char *, int);
static void procfs_attach (char *, int);
static void procfs_detach (char *, int);
static void procfs_resume (int, int, enum target_signal);
@@ -754,9 +754,8 @@
int proc_update_threads (procinfo * pi);
int proc_iterate_over_threads (procinfo * pi,
- int (*func) PARAMS ((procinfo *,
- procinfo *,
- void *)), void *ptr);
+ int (*func) (procinfo *, procinfo *, void *),
+ void *ptr);
gdb_gregset_t *proc_get_gregs (procinfo * pi);
gdb_fpregset_t *proc_get_fpregs (procinfo * pi);
Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.13
diff -u -r1.13 remote.c
--- remote.c 2000/06/08 00:52:56 1.13
+++ remote.c 2000/06/10 01:37:14
@@ -5162,8 +5162,7 @@
}
static void
- remote_cisco_mourn
-PARAMS ((void))
+remote_cisco_mourn (void)
{
remote_mourn_1 (&remote_cisco_ops);
}