From 6677e26fd13137a6debab1a4087893ec438a630f Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Mon, 2 Feb 2009 18:06:02 +0100 Subject: [PATCH] Somehow I managed to overlook this... * ... and it causes a compilation error. No idea how did I debug several changes afterwards with this missing. I blame git for messing with my tree mid-commit. --- src/dwarflint.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dwarflint.h b/src/dwarflint.h index 411fe816c..21fcbb094 100644 --- a/src/dwarflint.h +++ b/src/dwarflint.h @@ -47,8 +47,8 @@ extern "C" ((struct where) \ {(SECTION), (uint64_t)-1, (uint64_t)-1, (uint64_t)-1, NULL, NEXT}) - extern const char *where_fmt (struct where *wh, char *ptr); - extern void where_fmt_chain (struct where *wh, const char *severity); + extern const char *where_fmt (const struct where *wh, char *ptr); + extern void where_fmt_chain (const struct where *wh, const char *severity); extern void where_reset_1 (struct where *wh, uint64_t addr); extern void where_reset_2 (struct where *wh, uint64_t addr); extern void where_reset_3 (struct where *wh, uint64_t addr); @@ -95,10 +95,10 @@ extern "C" mc_all = 0xffffff00, // all areas }; - extern void wr_error (struct where *wh, const char *format, ...) + extern void wr_error (const struct where *wh, const char *format, ...) __attribute__ ((format (printf, 2, 3))); - extern void wr_warning (struct where *wh, const char *format, ...) + extern void wr_warning (const struct where *wh, const char *format, ...) __attribute__ ((format (printf, 2, 3))); extern void wr_message (enum message_category category, const struct where *wh, -- 2.47.3