diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-13 22:07:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-13 22:07:29 +0000 |
commit | b9e05ddfffa6e716b1e725d367d6dc3e2a1cde02 (patch) | |
tree | 34b775b9f7aee30925ec7ff7901ffeb0e5cd3690 /src/arm/arm.h | |
parent | a256932620856c72b3dd3bd53d8aef86c4688abc (diff) | |
download | gnunet-b9e05ddfffa6e716b1e725d367d6dc3e2a1cde02.tar.gz gnunet-b9e05ddfffa6e716b1e725d367d6dc3e2a1cde02.zip |
-fix message alignment to avoid bus error, indentation, style fixes
Diffstat (limited to 'src/arm/arm.h')
-rw-r--r-- | src/arm/arm.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/arm/arm.h b/src/arm/arm.h index 7010a0842..bf2f7e797 100644 --- a/src/arm/arm.h +++ b/src/arm/arm.h | |||
@@ -57,13 +57,18 @@ struct GNUNET_ARM_StatusMessage | |||
57 | struct GNUNET_ARM_Message | 57 | struct GNUNET_ARM_Message |
58 | { | 58 | { |
59 | /** | 59 | /** |
60 | * Reply to client, type is GNUNET_MESSAGE_TYPE_ARM_RESULT or | 60 | * Reply to client, type is #GNUNET_MESSAGE_TYPE_ARM_RESULT or |
61 | * GNUNET_MESSAGE_TYPE_ARM_LIST_RESULT. | 61 | * #GNUNET_MESSAGE_TYPE_ARM_LIST_RESULT. |
62 | * OR | 62 | * OR |
63 | * Request from client, type is GNUNET_MESSAGE_TYPE_ARM_REQUEST | 63 | * Request from client, type is #GNUNET_MESSAGE_TYPE_ARM_REQUEST |
64 | */ | 64 | */ |
65 | struct GNUNET_MessageHeader header; | 65 | struct GNUNET_MessageHeader header; |
66 | 66 | ||
67 | /** | ||
68 | * For alignment. | ||
69 | */ | ||
70 | uint32_t reserved; | ||
71 | |||
67 | /** | 72 | /** |
68 | * ID of a request that is being replied to. | 73 | * ID of a request that is being replied to. |
69 | * OR | 74 | * OR |