This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
[PATCH] unstrip.c: Mark function as static
- From: Marek Polacek <mpolacek at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 07 May 2011 19:11:37 +0200
- Subject: [PATCH] unstrip.c: Mark function as static
The function `compare_sections_nonrel' most probably should be marked
as static. It is used nowhere else. Tested on x86_64-redhat-linux. OK?
2011-05-07 Marek Polacek <mpolacek@redhat.com>
* unstrip.c (compare_sections_nonrel): Mark this function as static.
diff --git a/src/unstrip.c b/src/unstrip.c
index 3283d73..69c3775 100644
--- a/src/unstrip.c
+++ b/src/unstrip.c
@@ -706,7 +706,7 @@ compare_sections_rel (const void *a, const void *b)
return compare_sections (a, b, true);
}
-int
+static int
compare_sections_nonrel (const void *a, const void *b)
{
return compare_sections (a, b, false);