aboutsummaryrefslogtreecommitdiff
path: root/src/hello/hello.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-21 09:40:15 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-21 09:40:15 +0000
commitc4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac (patch)
tree02e313a83c4416f07fadf650d33aff09dfe46130 /src/hello/hello.c
parent40e5092e9a5db88b4c9b62cb341596fbf6ce1cf8 (diff)
downloadgnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.tar.gz
gnunet-c4f0fe3ea5a5ca3ce1f7dfecef719da631e4c6ac.zip
fixing 2012: network structure alignment now forced to be correct even on W32 using #pragma pack from gcc 4.x
Diffstat (limited to 'src/hello/hello.c')
-rw-r--r--src/hello/hello.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hello/hello.c b/src/hello/hello.c
index f7d34233c..7aa974008 100644
--- a/src/hello/hello.c
+++ b/src/hello/hello.c
@@ -28,6 +28,8 @@
28#include "gnunet_protocols.h" 28#include "gnunet_protocols.h"
29#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
30 30
31GNUNET_NETWORK_STRUCT_BEGIN
32
31/** 33/**
32 * A HELLO message is used to exchange information about 34 * A HELLO message is used to exchange information about
33 * transports with other peers. This struct is always 35 * transports with other peers. This struct is always
@@ -59,7 +61,7 @@ struct GNUNET_HELLO_Message
59 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded publicKey; 61 struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded publicKey;
60 62
61}; 63};
62 64GNUNET_NETWORK_STRUCT_END
63 65
64/** 66/**
65 * Copy the given address information into 67 * Copy the given address information into