From 6ebb5ba4e776ce5067a8cc01509571503717fb0b Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Wed, 20 Jan 2010 22:36:40 +0300 Subject: [PATCH] Make smatch work again. I completely disabled all the checks by mistake. And I also pushed without running the test. Will add an automated step to my push script so this doesn't happen again. Sorry. Signed-off-by: Dan Carpenter --- check_list.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/check_list.h b/check_list.h index 0cd4eec5..381f046d 100644 --- a/check_list.h +++ b/check_list.h @@ -1,5 +1,7 @@ #ifndef CK #define CK(_x) void _x(int id); +#define __undo_CK_def +#endif CK(register_smatch_extra) /* smatch_extra always has to be first */ CK(register_modification_hooks) @@ -46,5 +48,7 @@ CK(check_wine_WtoA) CK(register_containers) CK(register_implications) /* implications always has to be last */ +#ifdef __undo_CK_def #undef CK +#undef __undo_CK_def #endif -- 2.11.4.GIT