Ignore:
Timestamp:
Mar 1, 2009, 6:18:30 AM (16 years ago)
Author:
bird
Message:

kash: no return indicators that works for both gcc and msc (not pretty, but wtf).

File:
1 edited

Legend:

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

    r2290 r2298  
    116116STATIC int readtoken1(shinstance *, int, char const *, char *, int);
    117117STATIC int noexpand(shinstance *, char *);
    118 STATIC void synexpect(shinstance *, int) __attribute__((__noreturn__));
    119 STATIC void synerror(shinstance *, const char *) __attribute__((__noreturn__));
     118SH_NORETURN_1 STATIC void synexpect(shinstance *, int) SH_NORETURN_2;
     119SH_NORETURN_1 STATIC void synerror(shinstance *, const char *) SH_NORETURN_2;
    120120STATIC void setprompt(shinstance *, int);
    121121
     
    15961596 */
    15971597
    1598 STATIC void
     1598SH_NORETURN_1 STATIC void
    15991599synexpect(shinstance *psh, int token)
    16001600{
     
    16121612
    16131613
    1614 STATIC void
     1614SH_NORETURN_1 STATIC void
    16151615synerror(shinstance *psh, const char *msg)
    16161616{
Note: See TracChangeset for help on using the changeset viewer.