Ignore:
Timestamp:
Oct 28, 2011, 2:04:25 AM (14 years ago)
Author:
dmik
Message:

Extern "C".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/exceptions.cpp

    r21717 r21755  
    109109static PEXCEPTION_HANDLER           StartupCodeHandler = NULL;
    110110
    111 extern "C" PWINEXCEPTION_FRAME GetExceptionRecord(ULONG offset, ULONG segment);
     111extern "C" {
     112
     113PWINEXCEPTION_FRAME GetExceptionRecord(ULONG offset, ULONG segment);
    112114
    113115LONG WIN32API UnhandledExceptionFilter(PWINEXCEPTION_POINTERS lpexpExceptionInfo);
     
    118120                             PCONTEXTRECORD pCtxRec, PVOID p, PSZ szTrapDump);
    119121
    120 extern "C"
    121122int __cdecl __seh_handler(PWINEXCEPTION_RECORD pRec,
    122123                          PWINEXCEPTION_FRAME pFrame,
    123124                          PCONTEXTRECORD pContext, PVOID pVoid);
    124125
    125 extern "C"
    126126PWINEXCEPTION_FRAME __cdecl __seh_get_prev_frame(PWINEXCEPTION_FRAME pFrame);
    127127
     
    17911791 * Author    : Sander van Leeuwen [Sun, 1999/08/21 12:16]
    17921792 *****************************************************************************/
    1793 void OS2SetExceptionHandler(void *exceptframe)
     1793void SYSTEM OS2SetExceptionHandler(void *exceptframe)
    17941794{
    17951795 PEXCEPTIONREGISTRATIONRECORD pExceptRec = (PEXCEPTIONREGISTRATIONRECORD)exceptframe;
     
    19541954 * Author    : Sander van Leeuwen [Sun, 1999/08/21 12:16]
    19551955 *****************************************************************************/
    1956 void OS2UnsetExceptionHandler(void *exceptframe)
     1956void SYSTEM OS2UnsetExceptionHandler(void *exceptframe)
    19571957{
    19581958 PEXCEPTIONREGISTRATIONRECORD pExceptRec = (PEXCEPTIONREGISTRATIONRECORD)exceptframe;
     
    19861986//*****************************************************************************
    19871987
     1988} // extern "C"
     1989
Note: See TracChangeset for help on using the changeset viewer.