aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-03-10 09:52:43 +0000
committerBart Polot <bart@net.in.tum.de>2014-03-10 09:52:43 +0000
commit26a1ab5f0dd64c4a1395acf3627febe504f88ebc (patch)
treec5c3f0179e54cfcb593b38461eac7769a935458d
parent8c699617fdbb02dfcd3a95a53d0087b5eb3a0653 (diff)
downloadgnunet-26a1ab5f0dd64c4a1395acf3627febe504f88ebc.tar.gz
gnunet-26a1ab5f0dd64c4a1395acf3627febe504f88ebc.zip
- add const
-rw-r--r--src/mesh/mesh.h2
-rw-r--r--src/mesh/mesh_common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h
index 87af414e6..42d3e6462 100644
--- a/src/mesh/mesh.h
+++ b/src/mesh/mesh.h
@@ -329,7 +329,7 @@ GM_min_pid (uint32_t a, uint32_t b);
329 * 329 *
330 * @return A HashCode containing the original 256 bit hash right-padded with 0. 330 * @return A HashCode containing the original 256 bit hash right-padded with 0.
331 */ 331 */
332struct GNUNET_HashCode * 332const struct GNUNET_HashCode *
333GM_h2hc (const struct GNUNET_MeshHash *id); 333GM_h2hc (const struct GNUNET_MeshHash *id);
334 334
335/** 335/**
diff --git a/src/mesh/mesh_common.c b/src/mesh/mesh_common.c
index bd6c0949c..c986213f1 100644
--- a/src/mesh/mesh_common.c
+++ b/src/mesh/mesh_common.c
@@ -77,7 +77,7 @@ GM_min_pid (uint32_t a, uint32_t b)
77} 77}
78 78
79 79
80struct GNUNET_HashCode * 80const struct GNUNET_HashCode *
81GM_h2hc (const struct GNUNET_MeshHash *id) 81GM_h2hc (const struct GNUNET_MeshHash *id)
82{ 82{
83 static struct GNUNET_HashCode hc; 83 static struct GNUNET_HashCode hc;