forked from Imagelibrary/binutils-gdb
* nlmconv.c: Fix warnings about unused attributes and function
prototypes. * strings.c: Add prototype for get_char.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2001-09-24 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* nlmconv.c: Fix warnings about unused attributes and function
|
||||||
|
prototypes.
|
||||||
|
|
||||||
|
* strings.c: Add prototype for get_char.
|
||||||
|
|
||||||
2000-09-19 H.J. Lu <hjl@gnu.org>
|
2000-09-19 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
|
* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
|||||||
/* If strerror is just a macro, we want to use the one from libiberty
|
/* If strerror is just a macro, we want to use the one from libiberty
|
||||||
since it will handle undefined values. */
|
since it will handle undefined values. */
|
||||||
#undef strerror
|
#undef strerror
|
||||||
extern char *strerror ();
|
extern char *strerror PARAMS ((int));
|
||||||
|
|
||||||
#ifndef localtime
|
#ifndef localtime
|
||||||
extern struct tm *localtime ();
|
extern struct tm *localtime ();
|
||||||
@@ -1129,7 +1129,7 @@ static const char *
|
|||||||
select_output_format (arch, mach, bigendian)
|
select_output_format (arch, mach, bigendian)
|
||||||
enum bfd_architecture arch;
|
enum bfd_architecture arch;
|
||||||
unsigned long mach;
|
unsigned long mach;
|
||||||
boolean bigendian;
|
boolean bigendian ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
switch (arch)
|
switch (arch)
|
||||||
{
|
{
|
||||||
@@ -1162,7 +1162,7 @@ select_output_format (arch, mach, bigendian)
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
setup_sections (inbfd, insec, data_ptr)
|
setup_sections (inbfd, insec, data_ptr)
|
||||||
bfd *inbfd;
|
bfd *inbfd ATTRIBUTE_UNUSED;
|
||||||
asection *insec;
|
asection *insec;
|
||||||
PTR data_ptr;
|
PTR data_ptr;
|
||||||
{
|
{
|
||||||
@@ -1386,12 +1386,12 @@ mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
|
|||||||
static void
|
static void
|
||||||
default_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
|
default_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
|
||||||
contents_size)
|
contents_size)
|
||||||
bfd *outbfd;
|
bfd *outbfd ATTRIBUTE_UNUSED;
|
||||||
asection *insec;
|
asection *insec;
|
||||||
arelent ***relocs_ptr;
|
arelent ***relocs_ptr;
|
||||||
long *reloc_count_ptr;
|
long *reloc_count_ptr;
|
||||||
char *contents;
|
char *contents ATTRIBUTE_UNUSED;
|
||||||
bfd_size_type contents_size;
|
bfd_size_type contents_size ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
if (insec->output_offset != 0)
|
if (insec->output_offset != 0)
|
||||||
{
|
{
|
||||||
@@ -1595,8 +1595,8 @@ alpha_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
|
|||||||
asection *insec;
|
asection *insec;
|
||||||
register arelent ***relocs_ptr;
|
register arelent ***relocs_ptr;
|
||||||
long *reloc_count_ptr;
|
long *reloc_count_ptr;
|
||||||
char *contents;
|
char *contents ATTRIBUTE_UNUSED;
|
||||||
bfd_size_type contents_size;
|
bfd_size_type contents_size ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
long old_reloc_count;
|
long old_reloc_count;
|
||||||
arelent **old_relocs;
|
arelent **old_relocs;
|
||||||
@@ -1728,7 +1728,7 @@ static bfd_size_type powerpc_initial_got_size;
|
|||||||
static void
|
static void
|
||||||
powerpc_build_stubs (inbfd, outbfd, symbols_ptr, symcount_ptr)
|
powerpc_build_stubs (inbfd, outbfd, symbols_ptr, symcount_ptr)
|
||||||
bfd *inbfd;
|
bfd *inbfd;
|
||||||
bfd *outbfd;
|
bfd *outbfd ATTRIBUTE_UNUSED;
|
||||||
asymbol ***symbols_ptr;
|
asymbol ***symbols_ptr;
|
||||||
long *symcount_ptr;
|
long *symcount_ptr;
|
||||||
{
|
{
|
||||||
@@ -1917,7 +1917,7 @@ powerpc_mangle_relocs (outbfd, insec, relocs_ptr, reloc_count_ptr, contents,
|
|||||||
register arelent ***relocs_ptr;
|
register arelent ***relocs_ptr;
|
||||||
long *reloc_count_ptr;
|
long *reloc_count_ptr;
|
||||||
char *contents;
|
char *contents;
|
||||||
bfd_size_type contents_size;
|
bfd_size_type contents_size ATTRIBUTE_UNUSED;
|
||||||
{
|
{
|
||||||
reloc_howto_type *toc_howto;
|
reloc_howto_type *toc_howto;
|
||||||
long reloc_count;
|
long reloc_count;
|
||||||
|
|||||||
@@ -136,6 +136,8 @@ static void print_strings PARAMS ((const char *filename, FILE *stream,
|
|||||||
file_ptr address, int stop_point,
|
file_ptr address, int stop_point,
|
||||||
int magiccount, char *magic));
|
int magiccount, char *magic));
|
||||||
static void usage PARAMS ((FILE *stream, int status));
|
static void usage PARAMS ((FILE *stream, int status));
|
||||||
|
static long get_char PARAMS ((FILE *stream, file_ptr *address,
|
||||||
|
int *magiccount, char **magic));
|
||||||
|
|
||||||
int
|
int
|
||||||
main (argc, argv)
|
main (argc, argv)
|
||||||
|
|||||||
Reference in New Issue
Block a user