gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32599 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r32599 - gnunet/src/mesh
Date: Mon, 10 Mar 2014 10:52:43 +0100

Author: bartpolot
Date: 2014-03-10 10:52:43 +0100 (Mon, 10 Mar 2014)
New Revision: 32599

Modified:
   gnunet/src/mesh/mesh.h
   gnunet/src/mesh/mesh_common.c
Log:
- add const

Modified: gnunet/src/mesh/mesh.h
===================================================================
--- gnunet/src/mesh/mesh.h      2014-03-10 09:52:43 UTC (rev 32598)
+++ gnunet/src/mesh/mesh.h      2014-03-10 09:52:43 UTC (rev 32599)
@@ -329,7 +329,7 @@
  *
  * @return A HashCode containing the original 256 bit hash right-padded with 0.
  */
-struct GNUNET_HashCode *
+const struct GNUNET_HashCode *
 GM_h2hc (const struct GNUNET_MeshHash *id);
 
 /**

Modified: gnunet/src/mesh/mesh_common.c
===================================================================
--- gnunet/src/mesh/mesh_common.c       2014-03-10 09:52:43 UTC (rev 32598)
+++ gnunet/src/mesh/mesh_common.c       2014-03-10 09:52:43 UTC (rev 32599)
@@ -77,7 +77,7 @@
 }
 
 
-struct GNUNET_HashCode *
+const struct GNUNET_HashCode *
 GM_h2hc (const struct GNUNET_MeshHash *id)
 {
   static struct GNUNET_HashCode hc;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]