X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fruntime%2Fruntime.h;h=0fdfffad03532fe56c0e055114740b4da54d5fb1;hb=59f7d9254f3601cfd48f0c299d5c30562111e991;hp=f054a3d71af78c464244e851fce16b8e13e8fbf7;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index f054a3d..0fdfffa 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -9,10 +9,6 @@ * files for more information. */ -/* - * $Header$ - */ - /* FIXME: Aren't symbols with underscore prefixes supposed to be * reserved for system libraries? Perhaps rename stuff like this * to names like INCLUDED_SBCL_RUNTIME_H. */ @@ -101,4 +97,13 @@ typedef int boolean; #define SymbolFunction(sym) \ (((struct fdefn *)(SymbolValue(sym)-type_OtherPointer))->function) +/* KLUDGE: As far as I can tell there's no ANSI C way of saying + * "this function never returns". This is the way that you do it + * in GCC later than version 2.7 or so. If you are using some + * compiler that doesn't understand this, you could could just + * change it to "typedef void never_returns" and nothing would + * break, you might just get a few more bytes of compiled code or + * a few more compiler warnings. -- WHN 2000-10-21 */ +typedef volatile void never_returns; + #endif /* _SBCL_RUNTIME_H_ */