re PR bootstrap/54611 (Bootstrap failure: conflicting types for 'backtrace_simple')

PR bootstrap/54611
	* nounwind.c (backtrace_simple): Add state parameter.

From-SVN: r191405
This commit is contained in:
Gerald Pfeifer 2012-09-17 20:57:16 +00:00 committed by Gerald Pfeifer
parent 2611b5ba2e
commit e8f4008a9e
2 changed files with 7 additions and 1 deletions

View 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

View 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)
{