include: Make RpcRaiseException DECLSPEC_NORETURN, like it is in the PSDK.

Robert Shearman rob at codeweavers.com
Thu Dec 13 10:11:06 CST 2007


Change RpcRaiseException to call a DECLSPEC_NORETURN function to avoid a 
warning with gcc.
---
  dlls/rpcrt4/rpcrt4_main.c |    6 ++++--
  include/rpcdce.h          |    2 +-
  2 files changed, 5 insertions(+), 3 deletions(-)

I haven't yet tested what will happen if you try to continue an 
exception raised by RpcRaiseException, but it seems like it would be a 
bug if it let execution continue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13597ea3e7461f3115beab2603edf292cc18bba7.diff
Type: text/x-patch
Size: 1156 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071213/58301890/attachment.bin 


More information about the wine-patches mailing list