fix ARRAY_TYPE decl

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-24 16:25:02 +02:00
parent 5876b3cc70
commit f5f0663bf1
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
typedef struct pfx##_array_t { \ typedef struct pfx##_array_t { \
type_t *tab; \ type_t *tab; \
int len, size; \ int len, size; \
} pfx##_array_t } pfx##_array_t;
#define ARRAY_FUNCS(type_t, pfx, dtor) \ #define ARRAY_FUNCS(type_t, pfx, dtor) \
static inline pfx##_array_t * pfx##_array_new(void) { \ static inline pfx##_array_t * pfx##_array_new(void) { \

View File

@ -28,7 +28,7 @@
#include "common/array.h" #include "common/array.h"
#include "keybinding.h" #include "keybinding.h"
ARRAY_TYPE(keybinding_t *, keybinding); ARRAY_TYPE(keybinding_t *, keybinding)
extern awesome_t globalconf; extern awesome_t globalconf;