From b095261a9435adb6787c384aeb7c38827c0d9753 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Wed, 15 Nov 2000 19:58:14 +0000 Subject: [PATCH] Protoization. --- gdb/ChangeLog | 5 ++++- gdb/win32-nat.c | 1 - gdb/windows-nat.c | 1 - gdb/xcoffread.c | 7 ++----- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 279992865fb..5750b57aba9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2000-11-15 Kevin Buettner + + * xcoffread.c (arrange_linetable, xcoff_initial_scan): Protoize. + Wed Nov 15 09:31:39 2000 David Taylor * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT, @@ -11,7 +15,6 @@ Wed Nov 15 09:31:39 2000 David Taylor * demangle.c : Use libibery list of demanglers instead of out of date local copy. - Wed Nov 15 00:29:46 2000 Andrew Cagney From Klaus Espenlaub diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index ed87213e949..62db43fb62d 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -463,7 +463,6 @@ static struct objfile * safe_symbol_file_add (char *name, int from_tty, struct section_addr_info *addrs, int mainline, int flags) - { struct safe_symbol_file_add_args p; struct cleanup *cleanup; diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index ed87213e949..62db43fb62d 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -463,7 +463,6 @@ static struct objfile * safe_symbol_file_add (char *name, int from_tty, struct section_addr_info *addrs, int mainline, int flags) - { struct safe_symbol_file_add_args p; struct cleanup *cleanup; diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index ed55c74d277..fac9a2fb8e6 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -408,8 +408,7 @@ compare_lte (const void *lte1p, const void *lte2p) sort_linevec = 1 to end_symtab. */ static struct linetable * -arrange_linetable (oldLineTb) - struct linetable *oldLineTb; /* old linetable */ +arrange_linetable (struct linetable *oldLineTb) { int ii, jj, newline, /* new line count */ function_count; /* # of functions */ @@ -2600,9 +2599,7 @@ get_toc_offset (struct objfile *objfile) table (as opposed to a shared lib or dynamically loaded file). */ static void -xcoff_initial_scan (objfile, mainline) - struct objfile *objfile; - int mainline; /* FIXME comments above */ +xcoff_initial_scan (struct objfile *objfile, int mainline) { bfd *abfd; int val; -- 2.30.2