From 18301dfca56ba8545549e80f84423d83a46c6b64 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 2 Oct 2007 20:26:08 +0000 Subject: a lot of minor cleanups git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@36 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce --- src/asyncq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/asyncq.h') diff --git a/src/asyncq.h b/src/asyncq.h index 2e60c23..5d26283 100644 --- a/src/asyncq.h +++ b/src/asyncq.h @@ -1,5 +1,5 @@ -#ifndef foosydneyhasynchfoo -#define foosydneyhasynchfoo +#ifndef foosydneyasynchfoo +#define foosydneyasynchfoo #include "llist.h" #include "mutex.h" @@ -11,7 +11,7 @@ struct sa_asyncq_item { SA_LLIST_ITEM(sa_asyncq_item_t, items); }; -#define SA_ASYNCQ_ITEM_DATA(x) ((void*) ((uint8_t*) (x) + ALIGN(sizeof(sa_asyncq_item_t)))) +#define SA_ASYNCQ_ITEM_DATA(x) ((void*) ((uint8_t*) (x) + SA_ALIGN(sizeof(sa_asyncq_item_t)))) struct sa_asyncq { sa_mutex_t *mutex; -- cgit