aboutsummaryrefslogtreecommitdiff
path: root/include/apos/attrs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/attrs.h')
-rw-r--r--include/apos/attrs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/apos/attrs.h b/include/apos/attrs.h
index 094ae54..dd28b65 100644
--- a/include/apos/attrs.h
+++ b/include/apos/attrs.h
@@ -1,4 +1,10 @@
#ifndef APOS_COMPILER_ATTRIBUTES_H
+#define APOS_COMPILER_ATTRIBUTES_H
+
+/**
+ * @file attrs.h
+ * Attribute shorthands.
+ */
#define __section(section) __attribute__((__section__(section)))
#define __fmt(x, y) __attribute__((format(__printf__, x, y)))