Ignore:
Timestamp:
Oct 8, 2007, 2:24:31 AM (18 years ago)
Author:
bird
Message:

more fixes - it all compiles now (linking fails of course).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/error.c

    r1221 r1222  
    7171
    7272static void exverror(shinstance *psh, int, const char *, va_list)
    73     /*__attribute__((__noreturn__))*/;
     73    __attribute__((__noreturn__));
    7474
    7575/*
     
    8383{
    8484        if (psh->handler == NULL)
    85                 abort();
     85                sh_abort(psh);
    8686        psh->exception = e;
    8787        longjmp(psh->handler->loc, 1);
     
    180180        exverror(psh, EXERROR, msg, ap);
    181181        /* NOTREACHED */
    182 #ifndef __GNUC__
    183         va_end(ap);
    184 #endif
     182        va_end(ap);
    185183}
    186184
     
    194192        exverror(psh, cond, msg, ap);
    195193        /* NOTREACHED */
    196 #ifndef __GNUC__
    197         va_end(ap);
    198 #endif
     194        va_end(ap);
    199195}
    200196
Note: See TracChangeset for help on using the changeset viewer.