Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3404)

Unified Diff: bfd/sco5-core.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bfd/riscix.c ('k') | bfd/section.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bfd/sco5-core.c
diff --git a/bfd/sco5-core.c b/bfd/sco5-core.c
index 2eea7ff7c24f82914ababa3fc05411adde4c3c4f..896a970c9d1a314217a16863e519b4564939cab5 100644
--- a/bfd/sco5-core.c
+++ b/bfd/sco5-core.c
@@ -1,6 +1,6 @@
/* BFD back end for SCO5 core files (U-area and raw sections)
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2010, 2011
+ 2010, 2011, 2012
Free Software Foundation, Inc.
Written by Jouke Numan <jnuman@hiscom.nl>
@@ -45,24 +45,16 @@ struct sco5_core_struct
/* forward declarations */
-static asection *make_bfd_asection
- PARAMS ((bfd *, const char *, flagword, bfd_size_type, bfd_vma, file_ptr));
-static struct user *read_uarea PARAMS ((bfd *, int));
-const bfd_target *sco5_core_file_p PARAMS ((bfd *abfd));
-char *sco5_core_file_failing_command PARAMS ((bfd *abfd));
-int sco5_core_file_failing_signal PARAMS ((bfd *abfd));
#define sco5_core_file_matches_executable_p generic_core_file_matches_executable_p
#define sco5_core_file_pid _bfd_nocore_core_file_pid
-static void swap_abort PARAMS ((void));
static asection *
-make_bfd_asection (abfd, name, flags, size, vma, filepos)
- bfd *abfd;
- const char *name;
- flagword flags;
- bfd_size_type size;
- bfd_vma vma;
- file_ptr filepos;
+make_bfd_asection (bfd *abfd,
+ const char *name,
+ flagword flags,
+ bfd_size_type size,
+ bfd_vma vma,
+ file_ptr filepos)
{
asection *asect;
@@ -78,10 +70,7 @@ make_bfd_asection (abfd, name, flags, size, vma, filepos)
}
static struct user *
-read_uarea(abfd, filepos)
- bfd *abfd;
- int filepos;
-
+read_uarea (bfd *abfd, int filepos)
{
struct sco5_core_struct *rawptr;
bfd_size_type amt = sizeof (struct sco5_core_struct);
@@ -115,8 +104,7 @@ read_uarea(abfd, filepos)
}
const bfd_target *
-sco5_core_file_p (abfd)
- bfd *abfd;
+sco5_core_file_p (bfd *abfd)
{
int coffset_siz, val, nsecs, cheadoffs;
int coresize;
@@ -327,8 +315,7 @@ sco5_core_file_p (abfd)
}
char *
-sco5_core_file_failing_command (abfd)
- bfd *abfd;
+sco5_core_file_failing_command (bfd *abfd)
{
char *com = abfd->tdata.sco5_core_data->u.u_comm;
if (*com)
@@ -338,8 +325,7 @@ sco5_core_file_failing_command (abfd)
}
int
-sco5_core_file_failing_signal (ignore_abfd)
- bfd *ignore_abfd;
+sco5_core_file_failing_signal (bfd *ignore_abfd)
{
return ((ignore_abfd->tdata.sco5_core_data->u.u_sysabort != 0)
? ignore_abfd->tdata.sco5_core_data->u.u_sysabort
@@ -348,7 +334,7 @@ sco5_core_file_failing_signal (ignore_abfd)
/* If somebody calls any byte-swapping routines, shoot them. */
static void
-swap_abort ()
+swap_abort (void)
{
abort (); /* This way doesn't require any declaration for ANSI to fuck up */
}
@@ -408,5 +394,5 @@ const bfd_target sco5_core_vec =
NULL,
- (PTR) 0 /* backend_data */
+ NULL /* backend_data */
};
« no previous file with comments | « bfd/riscix.c ('k') | bfd/section.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698