re PR bootstrap/54611 (Bootstrap failure: conflicting types for 'backtrace_simple')
authorGerald Pfeifer <gerald@pfeifer.com>
Mon, 17 Sep 2012 20:57:16 +0000 (20:57 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Mon, 17 Sep 2012 20:57:16 +0000 (20:57 +0000)
PR bootstrap/54611
* nounwind.c (backtrace_simple): Add state parameter.

From-SVN: r191405

libbacktrace/ChangeLog
libbacktrace/nounwind.c

index e6efd6b..a420500 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-17  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       PR bootstrap/54611
+       * nounwind.c (backtrace_simple): Add state parameter.
+
 2012-09-17  Ian Lance Taylor  <iant@google.com>
 
        PR bootstrap/54609
index fea3c53..71bd5c4 100644 (file)
@@ -53,7 +53,8 @@ backtrace (int skip ATTRIBUTE_UNUSED,
 }
 
 int
-backtrace_simple (int skip ATTRIBUTE_UNUSED,
+backtrace_simple (struct backtrace_state *state ATTRIBUTE_UNUSED,
+                 int skip ATTRIBUTE_UNUSED,
                  backtrace_simple_callback callback ATTRIBUTE_UNUSED,
                  backtrace_error_callback error_callback, void *data)
 {