summaryrefslogtreecommitdiff
path: root/src/systemd/sd-shutdown.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-10-16 17:00:13 +0200
committerLennart Poettering <lennart@poettering.net>2013-10-16 17:01:26 +0200
commitaacf3b483b70b9a9ff16217f6376d143cbfe4636 (patch)
tree5f070d5044cb6945360efe3b1effbc96598ad447 /src/systemd/sd-shutdown.h
parent6fc60278a9de47f40a31acf4d0acb08d2500382d (diff)
api: unify some common bits used by public systemd APIs
Diffstat (limited to 'src/systemd/sd-shutdown.h')
-rw-r--r--src/systemd/sd-shutdown.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/systemd/sd-shutdown.h b/src/systemd/sd-shutdown.h
index b8f6a487e..6698c8c5c 100644
--- a/src/systemd/sd-shutdown.h
+++ b/src/systemd/sd-shutdown.h
@@ -26,6 +26,8 @@
#include <inttypes.h>
+#include "_sd-common.h"
+
typedef enum sd_shutdown_mode {
SD_SHUTDOWN_NONE = 0,
SD_SHUTDOWN_REBOOT = 'r',
@@ -55,7 +57,7 @@ struct sd_shutdown_command {
/* The wall message to send around. Leave empty for the
* default wall message */
char wall_message[];
-} __attribute__((packed));
+} _sd_packed_;
/* The scheme is very simple:
*