Greetings,

This is rather obvious patch to get rid of some warnings: remove unused
variable and provide missing function prototype.

Thanks,
--
Paul Pluzhnikov

diff --git a/src/dwarf/Gstep.c b/src/dwarf/Gstep.c
index a9b789c..59138e6 100644
--- a/src/dwarf/Gstep.c
+++ b/src/dwarf/Gstep.c
@@ -29,7 +29,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.  */
 HIDDEN int
 dwarf_step (struct dwarf_cursor *c)
 {
-  unw_word_t prev_cfa = c->cfa;
   int ret;
 
   if ((ret = dwarf_find_save_locs (c)) >= 0) {
diff --git a/src/x86_64/Gresume.c b/src/x86_64/Gresume.c
index 0a73441..52571bf 100644
--- a/src/x86_64/Gresume.c
+++ b/src/x86_64/Gresume.c
@@ -46,6 +46,8 @@ my_rt_sigreturn (void *new_sp)
   abort ();
 }
 
+extern void _Ux86_64_setcontext (ucontext_t *);
+
 HIDDEN inline int
 x86_64_local_resume (unw_addr_space_t as, unw_cursor_t *cursor, void *arg)
 {


_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to