diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-05-28 01:12:42 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-05-28 01:12:42 +0000 |
commit | a14ed312fd86dd2c862847230931451da2e49942 (patch) | |
tree | e7a00cec4f6ebd4b2d5dd59695c802ef6997d9da /gdb/sparcl-tdep.c | |
parent | 3c07fb76e69e648d58d507fdb05cf8d461d87dcb (diff) | |
download | gdb-a14ed312fd86dd2c862847230931451da2e49942.zip gdb-a14ed312fd86dd2c862847230931451da2e49942.tar.gz gdb-a14ed312fd86dd2c862847230931451da2e49942.tar.bz2 |
PARAMS removal.
Diffstat (limited to 'gdb/sparcl-tdep.c')
-rw-r--r-- | gdb/sparcl-tdep.c | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/gdb/sparcl-tdep.c b/gdb/sparcl-tdep.c index aaf6e30..ecf0bf1 100644 --- a/gdb/sparcl-tdep.c +++ b/gdb/sparcl-tdep.c @@ -42,34 +42,33 @@ static int serial_flag; static int udp_fd = -1; #endif -static serial_t open_tty PARAMS ((char *name)); -static int send_resp PARAMS ((serial_t desc, char c)); +static serial_t open_tty (char *name); +static int send_resp (serial_t desc, char c); static void close_tty (void * ignore); #ifdef HAVE_SOCKETS -static int recv_udp_buf PARAMS ((int fd, unsigned char *buf, int len, int timeout)); -static int send_udp_buf PARAMS ((int fd, unsigned char *buf, int len)); +static int recv_udp_buf (int fd, unsigned char *buf, int len, int timeout); +static int send_udp_buf (int fd, unsigned char *buf, int len); #endif -static void sparclite_open PARAMS ((char *name, int from_tty)); -static void sparclite_close PARAMS ((int quitting)); -static void download PARAMS ((char *target_name, char *args, int from_tty, - void (*write_routine) (bfd * from_bfd, - asection * from_sec, - file_ptr from_addr, - bfd_vma to_addr, int len), - void (*start_routine) (bfd_vma entry))); -static void sparclite_serial_start PARAMS ((bfd_vma entry)); -static void sparclite_serial_write PARAMS ((bfd * from_bfd, asection * from_sec, - file_ptr from_addr, - bfd_vma to_addr, int len)); +static void sparclite_open (char *name, int from_tty); +static void sparclite_close (int quitting); +static void download (char *target_name, char *args, int from_tty, + void (*write_routine) (bfd * from_bfd, + asection * from_sec, + file_ptr from_addr, + bfd_vma to_addr, int len), + void (*start_routine) (bfd_vma entry)); +static void sparclite_serial_start (bfd_vma entry); +static void sparclite_serial_write (bfd * from_bfd, asection * from_sec, + file_ptr from_addr, + bfd_vma to_addr, int len); #ifdef HAVE_SOCKETS -static unsigned short calc_checksum PARAMS ((unsigned char *buffer, - int count)); -static void sparclite_udp_start PARAMS ((bfd_vma entry)); -static void sparclite_udp_write PARAMS ((bfd * from_bfd, asection * from_sec, - file_ptr from_addr, bfd_vma to_addr, - int len)); +static unsigned short calc_checksum (unsigned char *buffer, int count); +static void sparclite_udp_start (bfd_vma entry); +static void sparclite_udp_write (bfd * from_bfd, asection * from_sec, + file_ptr from_addr, bfd_vma to_addr, + int len); #endif -static void sparclite_download PARAMS ((char *filename, int from_tty)); +static void sparclite_download (char *filename, int from_tty); #define DDA2_SUP_ASI 0xb000000 #define DDA1_SUP_ASI 0xb0000 |