fix unsafe macros

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
This commit is contained in:
Pierre Habouzit 2008-06-13 23:38:09 +02:00
parent 54f2ebee96
commit 181f43ddc2
1 changed files with 3 additions and 3 deletions

View File

@ -25,9 +25,9 @@
#include "structs.h" #include "structs.h"
#define WIDGET_CACHE_CLIENTS 1<<0 #define WIDGET_CACHE_CLIENTS (1<<0)
#define WIDGET_CACHE_LAYOUTS 1<<1 #define WIDGET_CACHE_LAYOUTS (1<<1)
#define WIDGET_CACHE_TAGS 1<<2 #define WIDGET_CACHE_TAGS (1<<2)
#define WIDGET_CACHE_ALL (WIDGET_CACHE_CLIENTS | WIDGET_CACHE_LAYOUTS | WIDGET_CACHE_TAGS) #define WIDGET_CACHE_ALL (WIDGET_CACHE_CLIENTS | WIDGET_CACHE_LAYOUTS | WIDGET_CACHE_TAGS)
typedef widget_t *(widget_constructor_t)(alignment_t); typedef widget_t *(widget_constructor_t)(alignment_t);