diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-03-10 09:52:43 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-03-10 09:52:43 +0000 |
commit | 26a1ab5f0dd64c4a1395acf3627febe504f88ebc (patch) | |
tree | c5c3f0179e54cfcb593b38461eac7769a935458d | |
parent | 8c699617fdbb02dfcd3a95a53d0087b5eb3a0653 (diff) | |
download | gnunet-26a1ab5f0dd64c4a1395acf3627febe504f88ebc.tar.gz gnunet-26a1ab5f0dd64c4a1395acf3627febe504f88ebc.zip |
- add const
-rw-r--r-- | src/mesh/mesh.h | 2 | ||||
-rw-r--r-- | src/mesh/mesh_common.c | 2 |
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 | */ |
332 | struct GNUNET_HashCode * | 332 | const struct GNUNET_HashCode * |
333 | GM_h2hc (const struct GNUNET_MeshHash *id); | 333 | GM_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 | ||
80 | struct GNUNET_HashCode * | 80 | const struct GNUNET_HashCode * |
81 | GM_h2hc (const struct GNUNET_MeshHash *id) | 81 | GM_h2hc (const struct GNUNET_MeshHash *id) |
82 | { | 82 | { |
83 | static struct GNUNET_HashCode hc; | 83 | static struct GNUNET_HashCode hc; |