[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -more fixmes, minor const fix
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -more fixmes, minor const fix |
Date: |
Thu, 08 Dec 2022 11:38:16 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new dccf4142e -more fixmes, minor const fix
dccf4142e is described below
commit dccf4142eaac44711692c295d81e0103c8042cd2
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Dec 8 19:38:10 2022 +0900
-more fixmes, minor const fix
---
src/include/gnunet_testing_ng_lib.h | 3 ++-
src/testing/testing_api_loop.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/include/gnunet_testing_ng_lib.h
b/src/include/gnunet_testing_ng_lib.h
index 1e2f4b30d..768298b48 100644
--- a/src/include/gnunet_testing_ng_lib.h
+++ b/src/include/gnunet_testing_ng_lib.h
@@ -404,6 +404,7 @@ GNUNET_TESTING_main (struct GNUNET_TESTING_Command
*commands,
* @param marker chunk to find in @a prog
* // FIXME: this does not belong here! => libgnunetutil, maybe?
* // FIXME: return bool? document return value!
+ * // FIXME: man strstr??
*/
int
GNUNET_TESTING_has_in_name (const char *prog,
@@ -497,7 +498,7 @@ GNUNET_TESTING_running (const struct GNUNET_TESTING_Command
*command);
* @return GNUNET_NO if the command is not finished, GNUNET_YES if it is
finished.
*/
enum GNUNET_GenericReturnValue
-GNUNET_TESTING_finished (struct GNUNET_TESTING_Command *command);
+GNUNET_TESTING_finished (const struct GNUNET_TESTING_Command *command);
/**
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index f19654029..a3a8219b3 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -479,7 +479,7 @@ GNUNET_TESTING_running (const struct GNUNET_TESTING_Command
*command)
enum GNUNET_GenericReturnValue
-GNUNET_TESTING_finished (struct GNUNET_TESTING_Command *command)
+GNUNET_TESTING_finished (const struct GNUNET_TESTING_Command *command)
{
struct GNUNET_TIME_Absolute now = GNUNET_TIME_absolute_get ();
struct GNUNET_TIME_Relative diff = GNUNET_TIME_absolute_get_difference (
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -more fixmes, minor const fix,
gnunet <=