]> sourceware.org Git - systemtap.git/commitdiff
unwind.c remove unused structs and code.
authorMark Wielaard <mjw@redhat.com>
Thu, 7 Jul 2011 11:46:18 +0000 (13:46 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 7 Jul 2011 22:06:11 +0000 (00:06 +0200)
Removed struct eh_frame_hdr_table_entry, cmp_eh_frame_hdr_table_entries
and swap_eh_frame_hdr_table_entries.

runtime/unwind.c

index dd27b03e86ce8aaf2ebaa721d5a86840b1ca39ea..9f036518f390d414566ef86a8b86a28eb85f67f3 100644 (file)
@@ -22,31 +22,6 @@ struct unwind_context {
     struct unwind_state state;
 };
 
-struct eh_frame_hdr_table_entry {
-       unsigned long start, fde;
-};
-
-static int cmp_eh_frame_hdr_table_entries(const void *p1, const void *p2)
-{
-       const struct eh_frame_hdr_table_entry *e1 = p1;
-       const struct eh_frame_hdr_table_entry *e2 = p2;
-       return (e1->start > e2->start) - (e1->start < e2->start);
-}
-
-static void swap_eh_frame_hdr_table_entries(void *p1, void *p2, int size)
-{
-       struct eh_frame_hdr_table_entry *e1 = p1;
-       struct eh_frame_hdr_table_entry *e2 = p2;
-       unsigned long v;
-
-       v = e1->start;
-       e1->start = e2->start;
-       e2->start = v;
-       v = e1->fde;
-       e1->fde = e2->fde;
-       e2->fde = v;
-}
-
 static uleb128_t get_uleb128(const u8 **pcur, const u8 *end)
 {
        const u8 *cur = *pcur;
This page took 0.031154 seconds and 5 git commands to generate.