diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2001-01-03 19:26:07 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2001-01-03 19:26:07 +0000 |
commit | ab8b08fc360ab76f812683cc9264c550f86f0a20 (patch) | |
tree | 5a2bbe7d96d614e3e4424b7e0a1cf7ee22b185b4 /bfd/lynx-core.c | |
parent | 6b92e41d2c9dacaf9fc1ae9a2a3bcab584adbcb7 (diff) | |
download | binutils-redhat-ab8b08fc360ab76f812683cc9264c550f86f0a20.tar.gz |
2001-01-03 Kazu Hirata <kazu@hxi.com>
* libbfd.c: Fix formatting.
* linker.c: Likewise.
* lynx-core.c: Likewise.
Diffstat (limited to 'bfd/lynx-core.c')
-rw-r--r-- | bfd/lynx-core.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bfd/lynx-core.c b/bfd/lynx-core.c index 2358177dbc..b9890124a8 100644 --- a/bfd/lynx-core.c +++ b/bfd/lynx-core.c @@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <sys/conf.h> #include <sys/kernel.h> -/* sys/kernel.h should define this, but doesn't always, sigh. */ +/* sys/kernel.h should define this, but doesn't always, sigh. */ #ifndef __LYNXOS #define __LYNXOS #endif @@ -40,7 +40,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* These are stored in the bfd's tdata */ -struct lynx_core_struct +struct lynx_core_struct { int sig; char cmd[PNMLEN + 1]; @@ -83,7 +83,6 @@ make_bfd_asection (abfd, name, flags, _raw_size, vma, filepos) return asect; } -/* ARGSUSED */ const bfd_target * lynx_core_file_p (abfd) bfd *abfd; @@ -146,7 +145,7 @@ lynx_core_file_p (abfd) bfd_set_error (bfd_error_wrong_format); return NULL; } - + core_signal (abfd) = threadp->currsig; newsect = make_bfd_asection (abfd, ".stack", @@ -214,7 +213,6 @@ lynx_core_file_failing_command (abfd) return core_command (abfd); } -/* ARGSUSED */ int lynx_core_file_failing_signal (abfd) bfd *abfd; @@ -222,7 +220,6 @@ lynx_core_file_failing_signal (abfd) return core_signal (abfd); } -/* ARGSUSED */ boolean lynx_core_file_matches_executable_p (core_bfd, exec_bfd) bfd *core_bfd, *exec_bfd; |