commit 1467fbdf861193fa10950fb9c25e3d4e7b30c645
parent 201c3508fc9d47d03169174a0ee71e4613748bfb
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Sat, 28 Sep 2024 09:06:03 +0200
dht: fix warnings
Diffstat:
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/service/dht/gnunet-service-dht_clients.c b/src/service/dht/gnunet-service-dht_clients.c
@@ -581,7 +581,7 @@ handle_local_result (void *cls,
* @param get the actual message received
* @return #GNUNET_OK (always)
*/
-enum GNUNET_GenericReturnValue
+static enum GNUNET_GenericReturnValue
check_dht_local_get (void *cls,
const struct GNUNET_DHT_ClientGetMessage *get)
{
@@ -598,7 +598,7 @@ check_dht_local_get (void *cls,
* @param cls the client we received this message from
* @param get the actual message received
*/
-void
+static void
handle_dht_local_get (void *cls,
const struct GNUNET_DHT_ClientGetMessage *get)
{
@@ -717,7 +717,7 @@ find_by_unique_id (void *cls,
* @param seen the actual message received
* @return #GNUNET_OK if @a seen is well-formed
*/
-enum GNUNET_GenericReturnValue
+static enum GNUNET_GenericReturnValue
check_dht_local_get_result_seen (
void *cls,
const struct GNUNET_DHT_ClientGetResultSeenMessage *seen)
@@ -742,7 +742,7 @@ check_dht_local_get_result_seen (
* @param cls the client we received this message from
* @param seen the actual message received
*/
-void
+static void
handle_dht_local_get_result_seen (
void *cls,
const struct GNUNET_DHT_ClientGetResultSeenMessage *seen)
@@ -832,7 +832,7 @@ remove_by_unique_id (void *cls,
* @param dht_stop_msg the actual message received
*
*/
-void
+static void
handle_dht_local_get_stop (
void *cls,
const struct GNUNET_DHT_ClientGetStopMessage *dht_stop_msg)
@@ -1131,7 +1131,7 @@ GDS_CLIENTS_handle_reply (const struct GNUNET_DATACACHE_Block *bd,
* @param msg the actual message received
*
*/
-void
+static void
handle_dht_local_hello_get (void *cls,
const struct GNUNET_MessageHeader *msg)
{
@@ -1164,7 +1164,7 @@ handle_dht_local_hello_get (void *cls,
* @param hdr HELLO URL message from the service.
* @return #GNUNET_OK if @a hdr is well-formed
*/
-enum GNUNET_GenericReturnValue
+static enum GNUNET_GenericReturnValue
check_dht_local_hello_offer (void *cls,
const struct GNUNET_MessageHeader *hdr)
{
@@ -1188,7 +1188,7 @@ check_dht_local_hello_offer (void *cls,
* @param cls the client we received this message from
* @param msg the actual message received
*/
-void
+static void
handle_dht_local_hello_offer (void *cls,
const struct GNUNET_MessageHeader *msg)
{
@@ -1224,7 +1224,7 @@ handle_dht_local_hello_offer (void *cls,
* @param msg the actual message received
*
*/
-void
+static void
handle_dht_local_monitor (void *cls,
const struct GNUNET_DHT_MonitorStartStopMessage *msg)
{
@@ -1252,7 +1252,7 @@ handle_dht_local_monitor (void *cls,
* @param cls the client we received this message from
* @param msg the actual message received
*/
-void
+static void
handle_dht_local_monitor_stop (
void *cls,
const struct GNUNET_DHT_MonitorStartStopMessage *msg)