Alexandre Julliard : msvcrt: longjmp doesn't have a return value.

Alexandre Julliard julliard at winehq.org
Tue Feb 1 12:25:00 CST 2011


Module: wine
Branch: master
Commit: 9b76c16e7ed2999a8e5ea087b7be79308b37176e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9b76c16e7ed2999a8e5ea087b7be79308b37176e

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Feb  1 16:34:42 2011 +0100

msvcrt: longjmp doesn't have a return value.

---

 dlls/msvcrt/except.c    |    2 +-
 include/msvcrt/setjmp.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c
index 94a4367..db36af6 100644
--- a/dlls/msvcrt/except.c
+++ b/dlls/msvcrt/except.c
@@ -473,7 +473,7 @@ int CDECL __regs_MSVCRT__setjmp3(struct MSVCRT___JUMP_BUFFER *jmp, int nb_args,
 /*********************************************************************
  *		longjmp (MSVCRT.@)
  */
-int CDECL MSVCRT_longjmp(struct MSVCRT___JUMP_BUFFER *jmp, int retval)
+void CDECL MSVCRT_longjmp(struct MSVCRT___JUMP_BUFFER *jmp, int retval)
 {
     unsigned long cur_frame = 0;
 
diff --git a/include/msvcrt/setjmp.h b/include/msvcrt/setjmp.h
index ded4c9a..2468373 100644
--- a/include/msvcrt/setjmp.h
+++ b/include/msvcrt/setjmp.h
@@ -95,7 +95,7 @@ extern "C" {
 #endif
 
 int __cdecl _setjmp(jmp_buf);
-int __cdecl longjmp(jmp_buf,int);
+void __cdecl longjmp(jmp_buf,int);
 
 #ifdef __cplusplus
 }




More information about the wine-cvs mailing list