From fdf77b0aa1237060407984ae7ad1b551dcc35b16 Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Fri, 27 Feb 2009 16:24:33 +0100 Subject: [PATCH] dwarflint: rename wr_checked_read_sleb128 to checked_read_sleb128 * Former name likely remainder from some mass-renaming --- src/dwarflint.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dwarflint.c b/src/dwarflint.c index bf1fda49a..d21075ce1 100644 --- a/src/dwarflint.c +++ b/src/dwarflint.c @@ -1167,7 +1167,7 @@ read_ctx_read_sleb128 (struct read_ctx *ctx, int64_t *ret) } static bool -wr_checked_read_sleb128 (struct read_ctx *ctx, int64_t *ret, +checked_read_sleb128 (struct read_ctx *ctx, int64_t *ret, struct where *wh, const char *what) { int st = read_ctx_read_sleb128 (ctx, ret); @@ -1266,7 +1266,7 @@ read_ctx_read_form (struct read_ctx *ctx, bool addr_64, uint8_t form, case DW_FORM_udata: return checked_read_uleb128 (ctx, valuep, where, what); case DW_FORM_sdata: - return wr_checked_read_sleb128 (ctx, (int64_t *)valuep, where, what); + return checked_read_sleb128 (ctx, (int64_t *)valuep, where, what); case DW_FORM_data1: { uint8_t v; @@ -2977,8 +2977,8 @@ read_die_chain (struct read_ctx *ctx, case DW_FORM_sdata: { int64_t value; - if (!wr_checked_read_sleb128 (ctx, &value, &where, - "attribute value")) + if (!checked_read_sleb128 (ctx, &value, &where, + "attribute value")) return -1; break; } -- 2.47.3