Module Name:    src
Committed By:   matt
Date:           Sat Feb 19 02:02:14 UTC 2011

Modified Files:
        src/sys/lib/libkern: libkern.h

Log Message:
Define CTASSERT in terms of __CTASSERT


To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/lib/libkern/libkern.h

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

Modified files:

Index: src/sys/lib/libkern/libkern.h
diff -u src/sys/lib/libkern/libkern.h:1.96 src/sys/lib/libkern/libkern.h:1.97
--- src/sys/lib/libkern/libkern.h:1.96	Wed Jan 26 01:02:46 2011
+++ src/sys/lib/libkern/libkern.h	Sat Feb 19 02:02:14 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: libkern.h,v 1.96 2011/01/26 01:02:46 matt Exp $	*/
+/*	$NetBSD: libkern.h,v 1.97 2011/02/19 02:02:14 matt Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -192,9 +192,7 @@
 #endif
 #endif
 
-#define	CTASSERT(x)		_CTASSERT(x, __LINE__)
-#define	_CTASSERT(x, y)		__CTASSERT(x, y)
-#define	__CTASSERT(x, y)	typedef char __ctassert ## y[(x) ? 1 : -1];
+#define	CTASSERT(x)		__CTASSERT(x)
 
 #ifndef DIAGNOSTIC
 #define _DIAGASSERT(a)	(void)0

Reply via email to