summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Polacek <[email protected]>2011-05-07 19:26:20 +0200
committerMarek Polacek <[email protected]>2011-05-07 19:26:20 +0200
commit82f77d757c1a9c0e6f66eef71bbe48484019fb1a (patch)
tree2fb8de94ebd25e03053fc6d25c58476bf59efbe4
parentbcdb09dcb97d00a1718507f64302f57f92558af0 (diff)
unstrip.c: Mark function as static.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/unstrip.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fd5a51e9..6c49eef0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-07 Marek Polacek <[email protected]>
+
+ * unstrip.c (compare_sections_nonrel): Mark this function as static.
+
2011-04-26 Mark Wielaard <[email protected]>
* readelf.c (handle_notes_data): Call ebl_object_note_type_name
diff --git a/src/unstrip.c b/src/unstrip.c
index 3283d736..69c37754 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);