diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-21 05:07:10 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-21 05:07:10 +0100 |
commit | 4f7bd1e439847d1db35b0bfd28372bbd98830477 (patch) | |
tree | 47196b9a00db484733e29eb9d8e9d85e6c3ae6dd /src/packet.h | |
parent | 2d369f16e420f01f0fc5cbc168ccc662d3328a43 (diff) | |
download | babel-4f7bd1e439847d1db35b0bfd28372bbd98830477.tar babel-4f7bd1e439847d1db35b0bfd28372bbd98830477.zip |
Rename alloca_packet() to gp_babel_packet_alloca()
Diffstat (limited to 'src/packet.h')
-rw-r--r-- | src/packet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet.h b/src/packet.h index 07c0f3b..df22dd6 100644 --- a/src/packet.h +++ b/src/packet.h @@ -43,7 +43,7 @@ struct __attribute__((packed)) gp_babel_packet { uint8_t tlv[]; }; -#define alloca_packet(size) ({ \ +#define gp_babel_packet_alloca(size) ({ \ gp_babel_packet_t *__packet = alloca(sizeof(gp_babel_packet_t)+size); \ __packet->version = htons(GP_BABEL_VERSION); \ __packet->len = 0; \ |