]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Somehow I managed to overlook this...
authorPetr Machata <pmachata@redhat.com>
Mon, 2 Feb 2009 17:06:02 +0000 (18:06 +0100)
committerPetr Machata <pmachata@redhat.com>
Mon, 2 Feb 2009 17:06:02 +0000 (18:06 +0100)
* ... 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

index 411fe816cc1ff17b625f719feee1d1948430af8d..21fcbb094da5c568cd5978b81e7a829aadf1a64d 100644 (file)
@@ -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,