summaryrefslogtreecommitdiff
path: root/binutils/filemode.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-11 20:02:30 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-11 20:02:30 +0000
commit38047acd256fb07ad7b6f6d7a380cbb1c3fbc0ae (patch)
tree182fa4d73b56e2bf66ac59ef648975b0b31a98fb /binutils/filemode.c
parentd3f2d3dd7467877bcd6e4547064cdb33b7786a75 (diff)
downloadbinutils-redhat-38047acd256fb07ad7b6f6d7a380cbb1c3fbc0ae.tar.gz
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Add variable initializations. Add casts. * objdump.c (disassemble_bytes): Change j to bfd_vma. * readelf.c (process_syminfo): Change i to unsigned int. (display_debug_info): Change abbrev_number to unsigned long. (process_mips_specific): Change fcnt to size_t.
Diffstat (limited to 'binutils/filemode.c')
-rw-r--r--binutils/filemode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/filemode.c b/binutils/filemode.c
index 58b52ba748..f9811bc492 100644
--- a/binutils/filemode.c
+++ b/binutils/filemode.c
@@ -1,5 +1,5 @@
/* filemode.c -- make a string describing file modes
- Copyright (C) 1985, 90, 91, 94, 95, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1985, 90, 91, 94, 95, 97, 1999 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -230,8 +230,8 @@ ftypelet (bits)
static void
setst (bits, chars)
- unsigned long bits;
- char *chars;
+ unsigned long bits ATTRIBUTE_UNUSED;
+ char *chars ATTRIBUTE_UNUSED;
{
#ifdef S_ISUID
if (bits & S_ISUID)