diff --git a/common/array.h b/common/array.h index 04fa219fa..a4ae552a4 100644 --- a/common/array.h +++ b/common/array.h @@ -29,7 +29,7 @@ typedef struct pfx##_array_t { \ type_t *tab; \ int len, size; \ - } pfx##_array_t + } pfx##_array_t; #define ARRAY_FUNCS(type_t, pfx, dtor) \ static inline pfx##_array_t * pfx##_array_new(void) { \ diff --git a/keybinding.c b/keybinding.c index 11aa66d2c..4558d74d3 100644 --- a/keybinding.c +++ b/keybinding.c @@ -28,7 +28,7 @@ #include "common/array.h" #include "keybinding.h" -ARRAY_TYPE(keybinding_t *, keybinding); +ARRAY_TYPE(keybinding_t *, keybinding) extern awesome_t globalconf;