diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-08-26 17:29:53 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-08-26 17:29:53 +0000 |
commit | 522b4059cac121d996a89780adc36563fd606d05 (patch) | |
tree | 998356e31de29c69bb4e2433a55ce0822ef56565 /gdb | |
parent | b2f87e3fad4e1a6ad95ece9d24f075ed39e5e1ae (diff) | |
download | gdb-522b4059cac121d996a89780adc36563fd606d05.tar.gz |
Protoization.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/gdbreplay.c | 4 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 8 |
3 files changed, 8 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1a87ccfe777..c3ee020d1a6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-08-26 Kevin Buettner <kevinb@redhat.com> + + * gdbserver/gdbreplay.c (main): Protoize. + * gdbserver/server.c (start_inferior, main): Protoize. + 2000-08-26 Stephane Carrez <Stephane.Carrez@worldnet.fr> * m68hc11-tdep.c (m68hc11_register_names): Update name of registers. diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c index 4fabf1d90e4..e15f77e5ef0 100644 --- a/gdb/gdbserver/gdbreplay.c +++ b/gdb/gdbserver/gdbreplay.c @@ -285,9 +285,7 @@ play (FILE *fp) } int -main (argc, argv) - int argc; - char *argv[]; +main (int argc, char *argv[]) { FILE *fp; int ch; diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 48a7e0f597a..8e6e8bd2e1e 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -29,9 +29,7 @@ jmp_buf toplevel; int inferior_pid; static unsigned char -start_inferior (argv, statusptr) - char *argv[]; - char *statusptr; +start_inferior (char *argv[], char *statusptr) { inferior_pid = create_inferior (argv[0], argv); fprintf (stderr, "Process %s created; pid = %d\n", argv[0], inferior_pid); @@ -43,9 +41,7 @@ start_inferior (argv, statusptr) extern int remote_debug; int -main (argc, argv) - int argc; - char *argv[]; +main (int argc, char *argv[]) { char ch, status, own_buf[PBUFSIZ], mem_buf[2000]; int i = 0; |