aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/server.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-08-26 17:29:53 +0000
committerKevin Buettner <kevinb@redhat.com>2000-08-26 17:29:53 +0000
commitda85418c1a7a0fce3cac19c69e3c6d78e0ea0156 (patch)
treea54e67dbb2e99b49e819067f6a8ec8d40e1b3ec8 /gdb/gdbserver/server.c
parent82c230c2d9da9859b8b9c3f2ce150e205403e4e5 (diff)
downloadgdb-da85418c1a7a0fce3cac19c69e3c6d78e0ea0156.zip
gdb-da85418c1a7a0fce3cac19c69e3c6d78e0ea0156.tar.gz
gdb-da85418c1a7a0fce3cac19c69e3c6d78e0ea0156.tar.bz2
Protoization.
Diffstat (limited to 'gdb/gdbserver/server.c')
-rw-r--r--gdb/gdbserver/server.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 48a7e0f..8e6e8bd 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;