aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-27 11:35:13 +0000
committerChristian Grothoff <christian@grothoff.org>2014-11-27 11:35:13 +0000
commit393b5b11525badff59ff6df0572c5cdf42c1587c (patch)
treebee65dc1a8798ec27e82623f631dd88a39bd09fc /src/include
parent68ac96f244a53f6a5dcdd939183d3904f43e4984 (diff)
downloadgnunet-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.h5
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 */
108struct GNUNET_MessageHeader * 108const struct GNUNET_MessageHeader *
109GNUNET_MQ_extract_nested_mh_ (const struct GNUNET_MessageHeader *mh, uint16_t base_size); 109GNUNET_MQ_extract_nested_mh_ (const struct GNUNET_MessageHeader *mh,
110 uint16_t base_size);
110 111
111 112
112/** 113/**