[BACK]Return to libkern.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / lib / libkern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/lib/libkern/libkern.h between version 1.93 and 1.93.4.3

version 1.93, 2010/01/19 22:28:30 version 1.93.4.3, 2011/03/05 20:55:27
Line 192  tolower(int ch)
Line 192  tolower(int ch)
 #endif  #endif
 #endif  #endif
   
 #define CTASSERT(x)             _CTASSERT(x, __LINE__)  #define CTASSERT(x)             __CTASSERT(x)
 #define _CTASSERT(x, y)         __CTASSERT(x, y)  
 #define __CTASSERT(x, y)        typedef char __ctassert ## y[(x) ? 1 : -1];  
   
 #ifndef DIAGNOSTIC  #ifndef DIAGNOSTIC
 #define _DIAGASSERT(a)  (void)0  #define _DIAGASSERT(a)  (void)0
Line 222  tolower(int ch)
Line 220  tolower(int ch)
   
 #ifndef DEBUG  #ifndef DEBUG
 #ifdef lint  #ifdef lint
 #define KDASSERT(e)     /* NOTHING */  #define KDASSERTMSG(e,msg)      /* NOTHING */
   #define KDASSERT(e)             /* NOTHING */
 #else /* lint */  #else /* lint */
 #define KDASSERT(e)     ((void)0)  #define KDASSERTMSG(e,msg)      ((void)0)
   #define KDASSERT(e)             ((void)0)
 #endif /* lint */  #endif /* lint */
 #else  #else
   #define KDASSERTMSG(e, msg) do {        \
           if (__predict_false(!(e)))      \
                   panic msg;              \
           } while (/*CONSTCOND*/ 0)
 #ifdef __STDC__  #ifdef __STDC__
 #define KDASSERT(e)     (__predict_true((e)) ? (void)0 :                    \  #define KDASSERT(e)     (__predict_true((e)) ? (void)0 :                    \
                             kern_assert("debugging ", __FILE__, __LINE__, #e))                              kern_assert("debugging ", __FILE__, __LINE__, #e))

Legend:
Removed from v.1.93  
changed lines
  Added in v.1.93.4.3

CVSweb <webmaster@jp.NetBSD.org>