aboutsummaryrefslogtreecommitdiff
path: root/bfd/lynx-core.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2001-01-03 19:26:07 +0000
committerKazu Hirata <kazu@codesourcery.com>2001-01-03 19:26:07 +0000
commit509945ae4bd11ac725782a16ac591220467c7df0 (patch)
tree2a62d2e163675a4db1350a1ff26cb7ff6e04e170 /bfd/lynx-core.c
parent09f131f2b690149150a201e404e3aa2f57c1ea03 (diff)
downloadfsf-binutils-gdb-509945ae4bd11ac725782a16ac591220467c7df0.zip
fsf-binutils-gdb-509945ae4bd11ac725782a16ac591220467c7df0.tar.gz
fsf-binutils-gdb-509945ae4bd11ac725782a16ac591220467c7df0.tar.bz2
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.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/bfd/lynx-core.c b/bfd/lynx-core.c
index 2358177..b989012 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;