summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkInt.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 958695e..d43278a 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: $Id: tkInt.h,v 1.107 2009/08/19 23:02:00 pspjuth Exp $
+ * RCS: $Id: tkInt.h,v 1.108 2009/08/24 03:18:23 das Exp $
*/
#ifndef _TKINT
@@ -989,9 +989,7 @@ MODULE_SCOPE Tcl_HashTable tkPredefBitmapTable;
#if defined(PURIFY) && defined(__clang__) && !defined(CLANG_ASSERT)
#include <assert.h>
#define CLANG_ASSERT(x) assert(x)
-#define TclPanic Tcl_Panic
-#undef Tcl_Panic
-#define Tcl_Panic(f, ...) do { TclPanic(f,##__VA_ARGS__); CLANG_ASSERT(0); } while(0)
+EXTERN void Tcl_Panic(const char * format, ...) __attribute__((analyzer_noreturn));
#elif !defined(CLANG_ASSERT)
#define CLANG_ASSERT(x)
#endif