aboutsummaryrefslogtreecommitdiff
path: root/libs/libgui/bmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libgui/bmp.h')
-rw-r--r--libs/libgui/bmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libgui/bmp.h b/libs/libgui/bmp.h
index ff8360b..f7fb57f 100644
--- a/libs/libgui/bmp.h
+++ b/libs/libgui/bmp.h
@@ -11,7 +11,7 @@ struct bmp_header {
u32 size;
u32 reserved;
u32 offset;
-} __attribute__((packed));
+} PACKED;
struct bmp_info {
u32 size;
@@ -34,6 +34,6 @@ struct bmp {
u32 pitch;
};
-struct bmp *bmp_load(const char *path);
+struct bmp *bmp_load(const char *path) NONNULL;
#endif