From f5f0663bf189f357382f066fdf9b785323df1b55 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 24 Jul 2008 16:25:02 +0200 Subject: [PATCH] fix ARRAY_TYPE decl Signed-off-by: Julien Danjou --- common/array.h | 2 +- keybinding.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;