diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-11-27 11:35:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-11-27 11:35:13 +0000 |
commit | 393b5b11525badff59ff6df0572c5cdf42c1587c (patch) | |
tree | bee65dc1a8798ec27e82623f631dd88a39bd09fc /src/include | |
parent | 68ac96f244a53f6a5dcdd939183d3904f43e4984 (diff) | |
download | gnunet-393b5b11525badff59ff6df0572c5cdf42c1587c.tar.gz gnunet-393b5b11525badff59ff6df0572c5cdf42c1587c.zip |
-return const, do not mangle const input
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_mq_lib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h index 674077628..8da51d198 100644 --- a/src/include/gnunet_mq_lib.h +++ b/src/include/gnunet_mq_lib.h | |||
@@ -105,8 +105,9 @@ | |||
105 | * @param base_size size of the message before the nested message's header appears | 105 | * @param base_size size of the message before the nested message's header appears |
106 | * @return pointer to the nested message, does not copy the message | 106 | * @return pointer to the nested message, does not copy the message |
107 | */ | 107 | */ |
108 | struct GNUNET_MessageHeader * | 108 | const struct GNUNET_MessageHeader * |
109 | GNUNET_MQ_extract_nested_mh_ (const struct GNUNET_MessageHeader *mh, uint16_t base_size); | 109 | GNUNET_MQ_extract_nested_mh_ (const struct GNUNET_MessageHeader *mh, |
110 | uint16_t base_size); | ||
110 | 111 | ||
111 | 112 | ||
112 | /** | 113 | /** |