소스 검색

unwind-{resume,forcedunwind}.c: add missing prototypes

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 15 년 전
부모
커밋
1d6099a2b4
2개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c
  2. 5 0
      libpthread/nptl/sysdeps/pthread/unwind-resume.c

+ 5 - 0
libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c

@@ -109,6 +109,11 @@ _Unwind_Resume (struct _Unwind_Exception *exc)
   resume (exc);
 }
 
+_Unwind_Reason_Code
+__gcc_personality_v0 (int version, _Unwind_Action actions,
+		      _Unwind_Exception_Class exception_class,
+                      struct _Unwind_Exception *ue_header,
+                      struct _Unwind_Context *context);
 _Unwind_Reason_Code
 __gcc_personality_v0 (int version, _Unwind_Action actions,
 		      _Unwind_Exception_Class exception_class,

+ 5 - 0
libpthread/nptl/sysdeps/pthread/unwind-resume.c

@@ -63,6 +63,11 @@ _Unwind_Resume (struct _Unwind_Exception *exc)
   libgcc_s_resume (exc);
 }
 
+_Unwind_Reason_Code
+__gcc_personality_v0 (int version, _Unwind_Action actions,
+		      _Unwind_Exception_Class exception_class,
+                      struct _Unwind_Exception *ue_header,
+                      struct _Unwind_Context *context);
 _Unwind_Reason_Code
 __gcc_personality_v0 (int version, _Unwind_Action actions,
 		      _Unwind_Exception_Class exception_class,