summaryrefslogtreecommitdiffstats
path: root/src/asyncq.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asyncq.h')
-rw-r--r--src/asyncq.h6
1 files changed, 3 insertions, 3 deletions
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;