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 | 509945ae4bd11ac725782a16ac591220467c7df0 (patch) | |
tree | 2a62d2e163675a4db1350a1ff26cb7ff6e04e170 /bfd/lynx-core.c | |
parent | 09f131f2b690149150a201e404e3aa2f57c1ea03 (diff) | |
download | binutils-gdb-509945ae4bd11ac725782a16ac591220467c7df0.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 2358177dbc6..b9890124a87 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; |