This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: cisco-core.c: Fix compile time warnings.
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 23 Jul 2012 13:13:48 +0100
- Subject: Commit: cisco-core.c: Fix compile time warnings.
Hi Guys,
I am applying the patch below fix a couple of compile time warnings
that crept in with my code tidy up patch from last week.
Cheers
Nick
bfd/ChangeLog
2012-07-23 Nick Clifton <nickc@redhat.com>
* cisco-core.c (cisco_core_file_failing_command): Make static.
(cisco_core_file_failing_signal): Make static.
Index: bfd/cisco-core.c
===================================================================
RCS file: /cvs/src/src/bfd/cisco-core.c,v
retrieving revision 1.21
diff -u -3 -p -r1.21 cisco-core.c
--- bfd/cisco-core.c 13 Jul 2012 14:22:42 -0000 1.21
+++ bfd/cisco-core.c 23 Jul 2012 13:17:00 -0000
@@ -303,13 +303,13 @@ cisco_core_file_p (bfd *abfd)
return (target);
}
-char *
+static char *
cisco_core_file_failing_command (bfd *abfd ATTRIBUTE_UNUSED)
{
return NULL;
}
-int
+static int
cisco_core_file_failing_signal (bfd *abfd ATTRIBUTE_UNUSED)
{
return abfd->tdata.cisco_core_data->sig;